Skip to content

Builid Error

Featured Replies

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

Check your windows environnement variables.

 

Your JAVA_HOME variable points to the wrong location.

  • Author

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 ?

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

 

JDK.

  • Author

bump.

 

my variables screen

 

captureunt.png

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.

  • Author

JAVA_HOME = C:\Program Files\Java\jre6\bin

 

PATH = C:\Program Files\Java\jdk1.6.0_24\bin

 

Installed JRE

 

capturevy.png

 

In eclipse, use the Search button from the panel I said, and points to the JDK folder.

  • Author

ok thanks problem solved

 

@//request close

ok thanks problem solved

 

@//request close

 

Locked.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.