|
From: shawn s. <clo...@gm...> - 2009-07-27 03:46:01
|
Ahh, simply changing the JVMVersion from 1.5+ to 1.6+ in /Applications/jEdit.app/Contents/Info.plist fixed the problem. jEdit launches using the correct version of java now. Thanks. On Sun, Jul 26, 2009 at 8:31 PM, shawn sutherland<clo...@gm...> wrote: > Thank you this gave me just enough information to, after much > prodding, get things working. It seems that on the mac, jedit > somewhere caches which version of java you are using and then uses > that version even after switching versions with the java selector > application that comes in OS X. I could see this by running "java > -version" in the terminal and getting back that the default was indeed > 1.6 but then when doing a Help > About jEdit and seeing at the bottom > it was still using 1.5. > > So... starting jedit with "java -jar > /Applications/jEdit.app/Contents/Resources/Java/jedit.jar" I was able > to get it to use the default version (1.6) of java on the system and > both plugins load fine now. But... I lack the mac integration it > seems. File menu is no longer in the right spot... > > So... now I just need to figure out how to change that in the > launcher, or perhaps just installing jedit with version 1.6 as the > default will do the trick? > > > On Sun, Jul 26, 2009 at 7:11 PM, Alan Ezust <ala...@gm...> wrote: >> >> 2009/7/26 shawn sutherland <clo...@gm...>: >> > Hello, >> > >> > After upgrading my various jEdit installs on several machine I'm finding >> > that the FirstMate plugin found at >> > http://www.rutherfurd.net/jedit/plugins/firstmate/ no longer loads. I get a >> > "Cannot start: java.lang.UnsupportedClass VersionError: Bad version number >> > in .class file. Try updating to a newer version of the plugin." >> >> This just means that the plugin was built against java 1.6 by mistake. >> If you upgrade to 1.6, it will work, and we should open a ticket to >> have it packaged again for 1.5 > |