Freemind doesn't start

2010-08-18
2013-04-11
  • Kees Koenen

    Kees Koenen - 2010-08-18

    Suddenly (I don't know what was changed on my PC) Freemind doesn't start anymore. I've used the .bat file that was advised in your FAQ. Please find output below.

    C:\Documents and Settings\A124882>"C:\Program Files\FreeMind\Freemind.bat"
    Exception in thread "main" java.lang.UnsatisfiedLinkError: java.util.zip.Inflate
    r.inflateBytes([BII)I
            at java.util.zip.Inflater.inflateBytes(Native Method)
            at java.util.zip.Inflater.inflate(Unknown Source)
            at java.util.zip.InflaterInputStream.read(Unknown Source)
            at java.io.DataInputStream.readFully(Unknown Source)
            at java.util.jar.JarFile.hasClassPathAttribute(Unknown Source)
            at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(Unkn
    own Source)
            at sun.misc.URLClassPath$JarLoader.getClassPath(Unknown Source)
            at sun.misc.URLClassPath.getLoader(Unknown Source)
            at sun.misc.URLClassPath.getResource(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: freemind.main.FreeMindStarter.  Program will exit

    Please advise! Thank you

    Regards., Kees

     
  • LogicDaemon

    LogicDaemon - 2010-08-18

    change directory to freemind first:

    CD /D C:\Program Files\FreeMind
    

    OR add fillowing line after @echo off to freemind.bat:

    PUSHD "%~dp0"
    
     
  • LogicDaemon

    LogicDaemon - 2010-08-18

    and POPD after last line

     
  • Kees Koenen

    Kees Koenen - 2010-08-18

    Tried both.. same error :

    C:\Program Files\FreeMind>Freemind.bat
    Exception in thread "main" java.lang.UnsatisfiedLinkError: java.util.zip.Inflate
    r.inflateBytes([BII)I
            at java.util.zip.Inflater.inflateBytes(Native Method)
            at java.util.zip.Inflater.inflate(Unknown Source)
            at java.util.zip.InflaterInputStream.read(Unknown Source)
            at java.io.DataInputStream.readFully(Unknown Source)
            at java.util.jar.JarFile.hasClassPathAttribute(Unknown Source)
            at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(Unkn
    own Source)
            at sun.misc.URLClassPath$JarLoader.getClassPath(Unknown Source)
            at sun.misc.URLClassPath.getLoader(Unknown Source)
            at sun.misc.URLClassPath.getResource(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: freemind.main.FreeMindStarter.  Program will exit

     
  • Kees Koenen

    Kees Koenen - 2010-08-18

    Current .bat file :

    @echo off
    PUSHD "%~dp0"
    java -cp lib\freemind.jar;lib\commons-lang-2.0.jar;lib\forms-1.0.5.jar;lib\jibx\jibx-run.jar;lib\jibx\xpp3.jar;lib\bindings.jar freemind.main.FreeMindStarter
    POPD

     
  • LogicDaemon

    LogicDaemon - 2010-08-19

    the batch file is correct. When I tried to run original bat from non-freemind directory, i've been getting same error, but with modified bat original working directory does not matter.

    So probably you've got missing or corrupt or inaccessible one of files (relatve to C:\Program Files\FreeMind):

    lib\freemind.jar
    lib\commons-lang-2.0.jar
    lib\forms-1.0.5.jar
    lib\jibx\jibx-run.jar
    lib\jibx\xpp3.jar
    lib\bindings.jar
    

    If files are in-place and are correct (not corrupt), I may suggest JRE is currupt itself. Try reinstalling first freemind, then JRE.

    Apropos, which JRE do you use?

     
  • Kees Koenen

    Kees Koenen - 2010-08-19

    JAVA Version :

    C:\Documents and Settings>java -version

    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)

    I removed all Java components and reinstalled Java.

    Version now is

    C:\Documents and Settings\A124882>java -version
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
    Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)

    AND IT WORKS !!!

    Thank you for assisting !! :D

    Note : Would be nice, though, if FreeMind notifies the user based on the Java version information.. jm2c

    Happy Freeminding!

     
  • LogicDaemon

    LogicDaemon - 2010-08-19

    I may suggest then Java Auto-Update corrupted java installation, if update has beed executing when JRE was working.
    I've seen this effect a pair of times.

     
  • Kees Koenen

    Kees Koenen - 2010-08-19

    Yep. Sure could be the case. So a warning based on version doesn't cut it :)

    Thanks again!

     

Log in to post a comment.