Skip to main content

Is it possible to use JNLP service from a standard java application ?

2 replies [Last post]
faureb
Offline
Joined: 2006-05-05
Points: 0

Hi,

I'd like to launch a JNLP application from a standard desktop application not started by the Java Web Start engine.

Is it possible or does the launcher application must necessary be instanciated by JWS ?

I get "javax.jnlp.UnavailableServiceException: uninitialized" when calling "ServiceManager.lookup("javax.jnlp.BasicService");"

Can I "initialize" the ServiceManager by myself or is it definitively forbidden ?

Thank you for answers..
Bernard

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chukmunnlee
Offline
Joined: 2004-01-14
Points: 0

Hi

the only way you can initialize ServiceManager is to provide a ServiceManagerStub implementation or you will have to locate Sun's implementation or opensource and then set it to ServiceManager.

HTH

Regards
Chuk

mac_systems
Offline
Joined: 2003-11-18
Points: 0

There must be a way to do it as Netbeans can do it.