Perlin Noise tile generation for 2d arrays?

Okay i have just edited this post

I want to make a better world generation for my game and perlin noise generation seems to be the way to go however there are not much on the internet for java about it so can anyone help?