setting up java file