Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

FreeMind fails to build

Help
2013-06-23
2013-06-24
  • Roland Haeder
    Roland Haeder
    2013-06-23

    Here is what I get:

    $ ant dist
    Buildfile: /home/quix0r/git/freemind/freemind/build.xml

    BUILD FAILED
    /home/quix0r/git/freemind/freemind/build.xml:42: java.lang.UnsupportedClassVersionError: com/oracle/appbundler/AppBundlerTask : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128)
    at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1299)
    at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1354)
    at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
    at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:266)
    at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:579)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:237)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:179)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
    at org.apache.tools.ant.Main.runBuild(Main.java:826)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

    Total time: 2 seconds

     
  • Hi, take the latest git version. (Or choose java7).
    HTH, Chris

     
  • Roland Haeder
    Roland Haeder
    2013-06-24

    Installing java7 worked.