[Browserlaunch2-development] BrowserLaunch on MacOS
Brought to you by:
jchapman0
From: Rodney K. <rod...@co...> - 2007-05-26 13:27:16
|
Trying out BrowserLaunch2 for my own (open-source) application. This project definitely fills a needed gap! Running under MacOS, I find that the com.apple.mrj.MRJFileUtils.openURL() method does nothing but write a message to my console. To wit: 007-05-26 06:17:44.008 java[2505] LSOpenFromURLSpec() returned -43 for application (null) path <...> Known problem? I would guess that it's the "application (null)" part that's the cause of the problem. I get the same result whether I set my default browser to Opera or Firefox. I gather that LSOpenFromURLSpec is a native library function. The docs seem to indicate that you can specify the desired application explicitly, but I can't see that this is surfaced in the Java API. Thanks for your efforts and any help you can offer. Rodney rk |