Jump to content
  • 0

Question

Posted

Hello all when i try to build any project or build core i got error on log , i build ed another projects before , the error seems to i must install java Jr

 

log error

 

com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files (x86)\Java\jre6"

 

Variable

captureunt.png

 

Installed JRE

capturevy.png

11 answers to this question

Recommended Posts

  • 0
Posted

Check your windows environnement variables.

 

Your JAVA_HOME variable points to the wrong location.

and where the location should be at the jre6 or jdk ?

  • 0
Posted

Your error just happened to me helping another guy.

 

It's eclipse error.

 

Go on Window > Preferences > Java > Installed JRE, and check the other case in case you got multiple JRE/JDK.

 

The best way would be to delete the JRE, for info it's included in the JDK.

 

 

Regards, Tk.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..