Java programs no longer running after downgrade - SOLVED

Discussion in 'macOS' started by Rizaria, Jun 15, 2010.

  1. Rizaria macrumors newbie

    Rizaria

    Joined:
    May 27, 2009
    #1
    The other day I had an issue with Mac OS, not sure what, but long story short I reinstalled/downgraded to Leopard. I have since installed all the Software Updates and such, but have not upgraded to Snow Leopard. (I'd had alot of issues with it, figured I'd stay downgraded for awhile)

    In any case, I was able to download and run Java files no problem on Snow Leopard, but no longer can. It's not a ONE Java file problem, I've tried more than one and they all give the same message:
    [​IMG]

    And if I check what it says, this is all that's there:
    Code:
    15/06/10 5:44:14 PM	[0x0-0x29029].com.apple.JarLauncher[286]	SystemFlippers: didn't consume all data for long ID 0 (pBase = 0x10012dd10, p = 0x10012dd14, pEnd = 0x10012dd18)	
    15/06/10 5:44:14 PM	[0x0-0x29029].com.apple.JarLauncher[286]	SystemFlippers: didn't consume all data for long ID 0 (pBase = 0x1001026a0, p = 0x1001026a4, pEnd = 0x1001026a8)	
    15/06/10 5:44:15 PM	com.apple.launchd[1]	(com.apple.KernelEventAgent[288]) posix_spawnp("/usr/sbin/KernelEventAgent", ...): No such file or directory	
    15/06/10 5:44:15 PM	com.apple.launchd[1]	(com.apple.KernelEventAgent[288]) Exited with exit code: 1	
    15/06/10 5:44:15 PM	com.apple.launchd[1]	(com.apple.KernelEventAgent) Throttling respawn: Will start in 10 seconds	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]	Exception in thread "main" 	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]	Exception in thread "main" 	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]	java.lang.UnsupportedClassVersionError: Bad version number in .class file	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.lang.ClassLoader.defineClass1(Native Method)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.lang.ClassLoader.defineClass(ClassLoader.java:676)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.net.URLClassLoader.access$100(URLClassLoader.java:56)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.net.URLClassLoader$1.run(URLClassLoader.java:195)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.security.AccessController.doPrivileged(Native Method)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.lang.ClassLoader.loadClass(ClassLoader.java:317)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.lang.ClassLoader.loadClass(ClassLoader.java:252)	
    15/06/10 5:44:17 PM	[0x0-0x29029].com.apple.JarLauncher[286]		at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)	
    15/06/10 5:44:25 PM	com.apple.launchd[1]	(com.apple.KernelEventAgent[291]) posix_spawnp("/usr/sbin/KernelEventAgent", ...): No such file or directory	
    Well, I copied what appeared at the time. That launchd stuff is happening continuously, dunno if it's related. But yes, it says there's an exception in main and such...never got such errors running the exact same java programs on Snow Leopard.

    Any thoughts?
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    That problem means the default version of Java on your system and the version of Java that program expects do not match. For example, the program requires Java 6 and the default JRE is set to 5. This is easily fixed: Open up Utilities, then Java preferences. Change the default.
     
  3. Rizaria thread starter macrumors newbie

    Rizaria

    Joined:
    May 27, 2009
    #3
    My hero. <3

    Seriously, thanks for the quick, easy and helpful answer. Fixed the problem right up. Much appreciated.
     

Share This Page