3 Replies Latest reply on Apr 1, 2009 3:18 AM by mielket

    Error: Unable to locate Javac Compiler in C:\JavaSDK\jre1.5.0_12\..\lib

    ptran

      Hi,

        I've to compile the PricingService project with Eclipse 3.3 and JDK 1.5 and I got this error:

      -


      Unable to locate the Javac Compiler in:

        C:\JavaSDK\jre1.5.0_12\..\lib\tools.jar

      Please ensure you are using JDK 1.4 or above and

      not a JRE (the com.sun.tools.javac.Main class is required).

      -


      I have got JAVA_HOME configured and also in eclipse's project properties's java built path. I also add the tools.jar in the path.

      And I can see the Main class in there

      Can anyone help me Thanks in advance

      Peter