Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I configure Java Web Start



Uwe Dennerlein wrote:

But our application service provider uses two different proxies: one for our internet access and another (different address and different port) for providing the java applications via JWS. Therefore I have to configure the OS X system (system prefs) for the second proxy (so that JWS will run) and to use Firefox instead of Safari as browser. In Firefox I can configure a proxy (in difference to the system prefs) for the internet access. Some java apps run fine, but one (important) application run into an error ("no browser configured"). Under Windows I' ve tested, that this app uses the browser, which is configured in javaws.cfg.
Any idea, how I can "tell to jws" the browser tu use?

We are talking about the BasicService.showDocument method here (where the "no browser configured" message is originating)? As far as I have been able to determine, it uses the system wide preference defined by Safari's prefs dialog.

Interestingly, it looks like Safari implements this by setting
up bindings for HTML, HTTP and HTTPS with Launch Services. If
you look in ~/Library/Preferences/com.apple.LaunchServices.plist
for your browser's bundle ID (e.g. org.mozilla.firefox) you can
see the bindings it sets up. If the URL given to showDocument
does not hit one of these bindings, that could possibly be the
cause of the error message.

Note that if you change the bindings, you may need to jump through
a hoop or two to get them recognized -- do a google on lsregister
(its a command line tool under LaunchServices.framework).

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.