I have a problem running ImageJ 1.51i java 1.8.0_112 (64 bit) in the headless mode on LinuxMint 17 Qiana.
I think the problem is with the ImageJ launcher. 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)