Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rizaria

macrumors newbie
Original poster
May 27, 2009
18
0
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:
errorij.png


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?
 
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.
 
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.

My hero. <3

Seriously, thanks for the quick, easy and helpful answer. Fixed the problem right up. Much appreciated.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.