Skip to main content



      Home
Home » Archived » Maven Integration (M2E) » Eclipse does not recognize new JAVA_HOME value? Refresh?
Eclipse does not recognize new JAVA_HOME value? Refresh? [message #647095] Tue, 04 January 2011 10:31
Eclipse UserFriend
At the time I installed Eclipse my JAVA_HOME variable points to a JRE installation.

After Eclipse installation I uninstalled the old JRE
and installed the new J2SE (including a sepatare JRE).

I adjusted JAVA_HOME to

C:\Program Files\Java\J2SEv1.6

When I compile now some java prgms inside Eclipse then I get the error:

[ERROR] Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre6\..\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).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

Hmm, Eclipse v3.6.1 seems not to detect the env variable change. How can I tell Eclipse to renew its internal JAVA_HOME information?

How can I manually chnage this information in Eclipse?

Ben
Previous Topic:Where to enter new Repositories? where is settings.xml?
Next Topic:run maven command through eclipse
Goto Forum:
  


Current Time: Sun Jul 06 07:45:31 EDT 2025

Powered by FUDForum. Page generated in 0.03817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top