From: Tai T. <ta...@pi...> - 2012-04-25 22:27:51
|
Hi all, Over the past 2-3 years, I've been flirting with many different editors on OS X (Textmate, Espresso, vim, Sublime Edit, the latest version of BBedit). They all have their strengths and weaknesses, but I made the switch back to jEdit (my first love) and I want to say "thank you" to the community for continuing to support this application. I've been using the daily builds of jEdit 5.0pr1 (on OS X 10.7.3, java version "1.6.0_29") and I've been configuring it for the past few days. I can't seem to get command line integration working in OS X. What I want to do is type in > jedit filename.xyz and have jEdit open the file (and use the options as documented in http://jedit.org/users-guide/cli-usage.html). I've googled, and I've tried creating a symbolic link in /usr/bin to "/Applications/jEdit.app/Contents/MacOS/jedit", but when I try to open jEdit using the terminal app, I get this error: > JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file > [JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory > [LaunchRunner Error] No main class specified > [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception > Exception in thread "main" java.lang.NullPointerException > at apple.launcher.LaunchRunner.run(LaunchRunner.java:113) > at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) > at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61) Most of the instructions for OS X command line integration seem out-of-date. They often refer to "/Applications/jEdit/Contents/MacOS/JavaApplicationStub". This is now located in "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/" Thanks in advance, Tai |