@@ -0,0 +1,361 @@
+public class JavaInfo %7B%0A%09public JavaInfo() %7B%0A%09%09String strHome = System.getProperty(%22java.home%22);%0A%09%09String fileSep = System.getProperty (%22file.separator%22);%0A%09%09if (strHome.endsWith( fileSep + %22jre%22 )) %7B%0A%09%09%09strHome = strHome.substring(0, strHome.length()-4);%0A%09%09%7D%0A%0A%09%09System.out.println(strHome);%0A%09%7D%0A%0A%09public static void main(String args%5B%5D) %7B%0A%09%09new JavaInfo();%0A%09%7D%0A%7D%0A%0A

Add missed JavaInfo.java