Animalzoo I am no expert on Javas ,(well i don't consider my self an expert on any bird so far so yeah xD)
Try putting a few nest boxes inside so that they choose the one they like more , they wont always settle down for one nest if you put it in, also put some nesting material in the nest just to start it of and also put it on the ground , they should investigate what it is and hop right in the nest ..
I have checked one site for you and found this out ..
They are hard to tell but when you look closely you can look at their beak for example , the male as far as I can tell has a bit darker beak and eye ring , so I believe the whiter one would be a male and the black one is a female .
Also check the under side of their beaks , the males beak is much wider then the hens ..
Another method is checking where is the eye compared to where the line when they close their beaks is showing , the males eye just stands on that line while the female has it a bit lower ..
by that means both of your javas are males.

Here is the site I checked :
http://www.sjdjavas.co.uk/sexing.htm