0 Replies Latest reply: Mar 29, 2010 8:48 PM by 843804 RSS

    Java update error with projects

    843804
      h1. Hi,
      h1. After update Java for Mac OS X relase 6, I can not run any Java project in Xcode 2.1, the run log show this error:
      [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
      Exception in thread "main" java.lang.UnsupportedClassVersionError: project1 (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)

      project1 has exited with status 0.
      h1. Please, I need to resolve this problem.

      h1. Greetings...