script to open java file