Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:31
Ben StoverFriend
Messages: 108
Registered: January 2010
Senior Member
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 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?

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

Current Time: Fri May 14 14:32:46 GMT 2021

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

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

Back to the top