Config file and Java 9
Posted by
Jon Harman-3 on
URL: http://imagej.273.s1.nabble.com/Different-behavior-of-plugin-called-from-macro-tp5014701p5020145.html
Hi,
There are some mysteries having do with the cfg file and Java 9 on a
Windows 10 64 bit machine. Can anyone help?
My ImageJ directory has the jre inside. No matter what I put into the
.cfg file, ImageJ uses that. For example:
C:\Program Files\Java\jre-9.0.1\bin\javaw.exe
-Xmx12000m -cp ij.jar ij.ImageJ
OK so I deleted the jre directory. Then ImageJ says it is using
Java 1.8.0_65[64-bit];
I do have this JDK installed on my machine, but why isn't it using Java 9?
If I double click on ij.jar
It says Java 9.0.1...
What is going on? ImageJ must be using some PATH variables instead of
the config file.
I do see JAVA_HOME C:\Program Files\Java\jdk-9.0.1
I assume that double clicking on ij.jar is using this path, but I see
nothing pointing to Java 8.
Thanks for any help,
Jon
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html