Problem in running freemind from the bat (the jar works)

2013-11-19
2013-11-19
  • GIorgio Cangioli

    I'm able to run freemind lunching freemind.jar, but it fails if I click the icon or if I run the bat file.

    Any suggestion ?

    Cheers,
    Giorgio

     
  • Christian Foltin

    Hi,

    what output do you receive starting the bat file?
    What does "java -version" responses on the command line?
    Br, Chris

     
  • GIorgio Cangioli

    bat output

    Checking Java Version...

    STDOUT: User patterns file C:\Users\Giorgio.freemind\patterns.xml not found.
    STDOUT: User patterns file C:\Users\Giorgio.freemind\patterns.xml not found.
    STDERR: java.lang.reflect.InvocationTargetException
    STDERR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    STDERR: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    STDERR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
    e)
    STDERR: at java.lang.reflect.Method.invoke(Unknown Source)
    STDERR: at freemind.main.FreeMindStarter.main(FreeMindStarter.java:90)
    STDERR: Caused by: java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
    STDERR: at freemind.main.Tools.generateID(Tools.java:1963)
    STDERR: at freemind.modes.MindMapLinkRegistry.generateUniqueID(MindMapLi
    nkRegistry.java:124)
    STDERR: at freemind.modes.MindMapLinkRegistry._registerLinkTarget(MindMa
    pLinkRegistry.java:164)
    STDERR: at freemind.modes.MindMapLinkRegistry.registerLinkTarget(MindMap
    LinkRegistry.java:144)
    STDERR: at freemind.modes.XMLElementAdapter.processUnfinishedLinks(XMLEl
    ementAdapter.java:547)
    STDERR: at freemind.modes.ControllerAdapter.createNodeTreeFromXml(Contro
    llerAdapter.java:607)
    STDERR: at freemind.modes.mindmapmode.MindMapMapModel.loadTree(MindMapMa
    pModel.java:526)
    STDERR: at freemind.modes.mindmapmode.MindMapMapModel.loadTree(MindMapMa
    pModel.java:471)
    STDERR: at freemind.modes.mindmapmode.MindMapMapModel.loadTree(MindMapMa
    pModel.java:429)
    STDERR: at freemind.modes.mindmapmode.MindMapMapModel.load(MindMapMapMod
    el.java:407)
    STDERR: at freemind.modes.mindmapmode.MindMapMapModel.load(MindMapMapMod
    el.java:373)
    STDERR: at freemind.modes.ControllerAdapter.load(ControllerAdapter.java:
    424)
    STDERR: at freemind.modes.ControllerAdapter.load(ControllerAdapter.java:
    439)
    STDERR: at freemind.modes.mindmapmode.MindMapMode.restore(MindMapMode.ja
    va:81)
    STDERR: at freemind.controller.LastOpenedList.open(LastOpenedList.java:1
    26)
    STDERR: at freemind.main.FreeMind.loadMaps(FreeMind.java:1256)
    STDERR: at freemind.main.FreeMind.main(FreeMind.java:924)

     
  • GIorgio Cangioli

    java version:

    java version "1.5.0_22"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

     
  • Christian Foltin

    Hi,

    yes, it seems that I used a Java6 method at this place. Please upgrade your java to 1.6 at least. It should run.

    HTH, Chris

     
  • GIorgio Cangioli

    done....

    problem fixed :-) Thanks a lot,

    giorgio

     

Log in to post a comment.