|
From: Tobias B. <tb...@cl...> - 2007-02-18 15:47:08
|
Hi. Thanks for your answer anyways. I think I have solved the problem by telling the packagebundler, that FreeCol is an exclusive java-1.5+ thing. Is there an "official" FreeCol Icon, which I can add to the bundle? Tobias On 18.02.2007, at 16:19, Michael Burschik wrote: > Tobias Bender wrote: >> Hi. >> Im trying to build a double clickable java bundle for mac os x. >> Therefore I have created another ant-task. But after executing >> FreeCol, the following exception will be thrown: >> >> Exception in thread "main" java.lang.UnsupportedClassVersionError: >> net/sf/freecol/FreeCol (Unsupported major.minor version 49.0) >> at java.lang.ClassLoader.defineClass0(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:539) >> at java.security.SecureClassLoader.defineClass >> (SecureClassLoader.java:123) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:55) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:194) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:219) >> at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:55) >> at apple.launcher.LaunchRunner.run(LaunchRunner.java:84) >> at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) >> at apple.launcher.JavaApplicationLauncher.launch >> (JavaApplicationLauncher.java:52) >> >> Am I doing something wrong when executing /ant dist? /The number I >> have entered was: 0.5.3, 0.5.4 or nothing. >> >> Thanks in advance for help. >> Tobias >> >> > Sorry, I can't help you here. We know that there are several issues > with Mac OS that are not reproducible on other operating systems. > Unfortunately, only a few of us have access to Mac OS, so there > isn't much we can do to help you. > > Regards > > Michael > |