Created by Jerry Wang, last modified on Sep 01, 2015

Unable to locate the Javac Compiler in: C: Program Files\Java\ jRE7… Jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable.

Modify the previous Installed JREs configuration:



Add a new JRE home with location as JDK directory:



Select the newly added JDK:



Select the newly added JDK in the Execution Environment:



issue resolved:



Jar package built successfully: