they didnt have to worry about an overwhelming influx of immigrants heading south since the island of java is the most thickly populated place on earth , but it was one way for the government to get money from travellers .