JAVA_HOME setting [message #1716143] |
Tue, 01 December 2015 11:45 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07073 seconds