Re: javax.jnlp -- how do I access this package?
- From: Andrew Thompson <seemysites@xxxxxxxxxxx>
- Date: Fri, 06 Jan 2006 00:46:39 GMT
Carl Burke wrote:
I have Java Web Start installed on my machine, I can run Web Start applications
from my browser, but when I try to write code accessing the Web Start APIs
the compiler complains that there is no such package. The documentation is
less than helpful, since I've already taken all of the specified steps to install
Web Start on my local machine,
[1]
....and I can run applications that have been
packaged using Web Start. Where do I get the jar file with the developer
classes, and where am I supposed to put it? (This is for JDKs 1.4.2 and 1.5.0)
The JWS 'Developer Bundle' was eliminated between 1.4 and 1.5. JWS was a separate plug-in for 1.4, but became integrated with the core classes in 1.5
You should be able to compile against the 1.5 SDK without specifically referring to external packages.
... and I also need to know if the application was launched under Web Start this time around so that I can set the correct resource paths for icons displayed by the app.
You will find that calls to functionality available to WebStart applications will fail in the non JWS app., AFAIR it is something to do with JWS managers/stubs not being initialised.
Pop a try/catch around such an attempt and you have your answer.
HTH
-- Andrew Thompson physci, javasaver, 1point1c, lensescapes - athompson.info/andrew .
- References:
- javax.jnlp -- how do I access this package?
- From: Carl Burke
- javax.jnlp -- how do I access this package?
- Prev by Date: Re: why java does not support pointers
- Next by Date: SiteMap For Google
- Previous by thread: javax.jnlp -- how do I access this package?
- Next by thread: IBM Java & memory mapped IO
- Index(es):
Relevant Pages
|