Skip to main content



      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 11:45
Eclipse UserFriend
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: Thu Apr 24 23:54:03 EDT 2025

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

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

Back to the top