Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JAVA_HOME setting(Using an ant external tool, JAVA_HOME is wrong.)
JAVA_HOME setting [message #1716143] Tue, 01 December 2015 16:45
Christopher V. Kimball is currently offline Christopher V. KimballFriend
Messages: 6
Registered: September 2009
Junior Member
Use ant to build two projects A, B. Both projects have their Enable project specific settings UNchecked. The overall Java compiler for Eclipse is Java SE 8 (OSX Default).

In project A I can run the building ant script using the external tools configurations with the JRE taken from the workspace.

In project B I can run the building ant script using the external tools configurations with the JRE taken from the "separate JRE" specified as SE 8 (OSX Default). When I take it as the JRE taken from the workspace, the ant script fails with a bad JAVA_HOME value. The JAVA_HOME value shown includes the path from the JDK to the JRE itself, which is certainly an error.

But I haven't tried to make these two projects different. How can the workspace JRE be different between them?

Where would I set a project's JAVA_HOME path?

Chris KImball
Previous Topic:Eclipse language behaving wierdly
Next Topic:Mars question - window creation
Goto Forum:
  


Current Time: Sun Sep 22 23:01:31 GMT 2019

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

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

Back to the top