Return java file from install_java function