FHIR Chat · Java path error · IG creation

Stream: IG creation

Topic: Java path error


view this post on Zulip Brian Reinhold (Oct 08 2018 at 15:13):

I am getting this error running the Frameworks ANT build

C:\Program Files\Java\jre1.8.0_181\lib\tools.jar

That is not where the Java tools.jar file is (anymore). It is located in the JDK now

C:\Program Files\Java\jdk1.8.0_181\lib

How can I fix this without copying the tools.jar file to the given location?

I get this requirement on one Windows 10 computer but not the other. The installed JDK/Jre is the same on both,

view this post on Zulip Grahame Grieve (Oct 08 2018 at 18:40):

don't know

view this post on Zulip Rick Geimer (Oct 10 2018 at 23:28):

Have you tried updating the JAVA_HOME environment variable to point to the JDK instead of the JRE?

view this post on Zulip Brian Reinhold (Oct 11 2018 at 08:29):

Have you tried updating the JAVA_HOME environment variable to point to the JDK instead of the JRE?

Actually yes. One one computer I have to copy the tools.jar file into the jre directory, and the other I do not. Only one JDK installed on each and its the same. I am not going to try to figure it out but just do the copy as it works.

view this post on Zulip Lloyd McKenzie (Oct 11 2018 at 14:44):

It's common for the build to complain about a missing tooling.jar - it doesn't affect the running of the build.


Last updated: Apr 12 2022 at 19:14 UTC