Mac OS X - change of behaviour
Submitted by Tuesday, 31 May, 2011 - 14:49
on
Hello,
last week, suddenly, my jEdit did not start anymore with a doubleclick, so I downloader a new version -- not a good idea, usually it's better to know why these things happen --, anyway after updating my usual shell scripts to open files on the command line do not work anymore. I usually do:
java -jar /Applications/jEdit.app/Contents/Resources/Java/jedit.jar -reuseview $1
to open a file in a new tab on jedit. Now I get an error instead:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
But why it runs well when I double click the application?
May we have back my command line?
c
Thank you for any help provided.
last week, suddenly, my jEdit did not start anymore with a doubleclick, so I downloader a new version -- not a good idea, usually it's better to know why these things happen --, anyway after updating my usual shell scripts to open files on the command line do not work anymore. I usually do:
java -jar /Applications/jEdit.app/Contents/Resources/Java/jedit.jar -reuseview $1
to open a file in a new tab on jedit. Now I get an error instead:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
But why it runs well when I double click the application?
May we have back my command line?
c
Thank you for any help provided.