[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: [MAC OS X] Unable to open external editor

The runtime(exec) method used to call pgms from within eclipse doesn't use the 'launch' interface and therefore can't call the application bundle (..app) under OS X. You have to provide the full path to the executable. In your case /Applications/jEdit 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub.
This has consequences for some applications if they are already running on your desktop. It will always try to start a new instance, which some apps will refuse to do if they are already running. It may also cause problems if you are passing parameters. Some apps, like IE, expect file paths in 'classic' style: Volume:Path, which eclipse doesn't seem to support. Good luck.


Bill Mulert wrote:
Mac OS X 10.3.6 with Java 1.4.2 and Eclipse 3.0.

When I associate a file type with an external editor and attempt to open a file with the external editor (right click->open with), I get this error message:

Unable to open external editor /Applications/jEdit 4.2/jEdit.app (/Applications/jEdit 4.2/jEdit.app).
Reason:
Error opening external editor (/Applications/jEdit 4.2/jEdit.app).


This occurs with both jEdit and TextEdit.

Is this a known problem on Mac?
Can anyone suggest a workaround or diagnostic?

thanks to all --
-- bill