Running Java 8 ImageJ headless
Posted by
Avital Steinberg on
Jan 29, 2017; 2:07pm
URL: http://imagej.273.s1.nabble.com/Running-Java-8-ImageJ-headless-tp5017958.html
Hi,
I have a problem running ImageJ 1.51i java 1.8.0_112 (64 bit) in the
headless mode on LinuxMint 17 Qiana. I posted this question also in the
ImageJ developers forum, but I still haven't been able to solve this issue.
When I run the following command:
[path_to_ImageJ]/ij.jar helloImageJ.py -b &
It works. (helloImageJ.py just prints hello to the console)
On the other hand, when I write the following command:
[path_to_ImageJ]/ImageJ helloImageJ.py -b &
I get the following error message:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
PermSize=128m; support was removed in 8.0
Unrecognized option: -b
Warning: falling back to System JVM
Unrecognized option: -b
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Any idea how to fix this problem? I need to work in batch mode, because the
goal is to obviously run my image analysis script in headless mode. (rather
than the hello world program)
Thanks,
Avital
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html