NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 567 - Unable to launch Fiji in all versions since 15/02/2013
Unable to launch Fiji in all versions since 15/02/2013
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Windows
: P5 critical
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2013-02-18 15:07 CST by Fabian
Modified: 2013-02-18 18:51 CST
1 user (show)

See Also:

Description Fabian 2013-02-18 15:07:35 CST
Since the auto-update on 15/02/2013, Fiji does not start any more. Errors displayed are:

Error: Could not create the Java virtual machine.
Error: A fatal exception has occured. Program will exit.

All steps described on http://fiji.sc/wiki/index.php/Fix_non-functional_Fiji_after_Update have been followed and a new version of Fiji has been installed on Saturday, Sunday, and Monday. Furthermore, Java was reinstalled cleanly. The newest versions of ImageJ and older versions of Fiji work fine.

Machine is an Intel i7 notebook with Windows 7 64 Professional.
Comment 1 Johannes Schindelin 2013-02-18 16:35:54 CST
Please copy ImageJ-win64.exe to debug.exe and start it from there. You should see a console pop up that contains useful information that I ask you to paste here (you can right-click the upper-left window icon, select Properties... and activate the Quick Edit mode. After that, dragging with the left mouse button can mark things, a right mouse button click copies the marked area into the clipboard).
Comment 2 Johannes Schindelin 2013-02-18 18:51:00 CST
Vince Hradil responded:

-- snip --
JRE not found in 'C:\Fiji.app/jre'
No JRE was found in default locations
java -Dpython.cachedir.skip=true -Dplugins.dir=C:\\Fiji.app -Xmx1529m
-Xincgc -XX:PermSize=128m -Dsun.java.command=ImageJ -Djava.class.path=C:\\Fiji.app/jars/ij -launcher-2.0.0-SNAPSHOT.jar -Dimagej.dir=C:\\Fiji.app -Dij.dir=C:\\Fiji.app -Dfiji.dir=C:\\Fiji.app -Dfiji.defaultLibPath=bin/client/jvm.dll -Dfiji.executable=C:\\Fiji.app\\debug.exe -Dij.executable=C:\\Fiji.app\\debug.exe -Djava.library.path=C:\\Fiji.app/lib/win32 -Dsun.java2d.noddraw=true imagej.ClassLauncher -classpath C:\\Fiji.app/jars/ij-1.47k.jar fiji.Main -port7
Warning: falling back to system Java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
-- snap --

As a work-around, set JAVA_HOME to C:\Fiji.app\java\win64\jdk1.6.0_24, e.g. by calling "cmd" from the Start menu's "Run" item and the issuing the following commands:

 c:
 cd Fiji.app
 set JAVA_HOME=C:\Fiji.app\java\win64\jdk1.6.0_24
 ImageJ-win64.exe

It will want to run the updater and update ImageJ-win64.exe. However, you will have to run it once again with JAVA_HOME set as described above to fix things.