|
Loading...
|
java-dev@lists.apple.com
[Prev] Thread [Next] | [Prev] Date [Next]
Launch web page in browser under Leopard Chris Colvard Thu Mar 27 06:00:33 2008
Under Leopard, my application can no longer launch a web browser to open
a web page, local or remote. If the default browser is already open,
then the page will load as expected. This problem only applies to when
the default browser is not currently running.
Using either BareBonesBrowserLaunch.java, Runtime.exec("open
file:/path/to/file.html"), or an old version of BrowserLauncher, I get
the following error in the system log when Safari is the default browser:
"No Info.plist file in application bundle or no NSPrincipalClass in the
Info.plist file, exiting"
"Exited with exit code: 1"
When firefox is the default browser:
"Exited with exit code: 1"
These methods work properly and do *not* fail when run in a simple Java
application outside of a bundle and invoked on the command-line. Any
help in resolving this issue would be appreciated.
Thanks,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/alexiscircle%40gmail.com
This email sent to [EMAIL PROTECTED]
- Launch web page in browser under Leopard Chris Colvard 2008/03/27 <=
- Re: Launch web page in browser under Leopard Steve W. Jackson 2008/03/27
- Re: Launch web page in browser under Leopard Scott Kovatch 2008/03/27
- Re: Launch web page in browser under Leopard Roel van der Kraan 2008/03/27
- Re: Launch web page in browser under Leopard Chris Colvard 2008/03/27
- Re: Launch web page in browser under Leopard Greg Guerin 2008/03/27
- Re: Launch web page in browser under Leopard Chris Colvard 2008/03/27
- Re: Launch web page in browser under Leopard Michael Samarin 2008/03/27