moved java file stuff