Prostitution is not specifically addressed in the law.
However, many officials interpreted "crimes against decency/morality" to apply to prostitution.
Those entering prostitution for money come from both middle-class and poor families. The International Labour Organization (ILO) reports that roughly 70 percent of Indonesian child prostitutes are brought into the trade by their family or friends.
The Tang dynasty Ch'iu-T'ang shu and Hsin T'ang shu historical records, which originated circa 640 CE, reported that in the country of Ho-ling in Java, there were a number of "poisonous women".
Those who had sex with these harlots would suffer festering wounds and die afterwards.
This was the earliest record of prostitution and its connection with sexually-transmitted disease in ancient Java.
Serat Centhini, an early 19th century Javanese manuscript, refers to the prostitution business in Central Java and Yogyakarta.
The manuscript describes various sexual positions and techniques mastered by prostitutes in Java in order to satisfy their clients.