From: David B. <dav...@ed...> - 2012-04-25 23:33:30
|
Could you have an issue with multiple version of Java? Here is a link to how I start jEdit; which works for me on a Mac http://praxis.edoceo.com/gui/jedit It's a modified shell script to launch jEdit; adds more command line options. Update the JAVA_HOME environment to make it work properly -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 2012/4/25 Tai Toh <ta...@pi...>: > 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 > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > |