Re: javax.jnlp -- how do I access this package?



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
.



Relevant Pages

  • Re: up2date showing wrong updates
    ... Nonetheless I like some applications from the alternative repositories, ... Package: * ... Explanation: audacity ...
    (Fedora)
  • Re: Those clever people in Redmond.
    ... Drag the application out of "Applications", ... Right click on the application icon, choose "Show Package ... libraries and whatever needed for that application. ... Frameworks (folder) ...
    (uk.misc)
  • Re: Upgrade applications with SMS 2003!
    ... I'm not sure why you have to uninstall vs. just upgrading. ... > deploy SMS 2003 to our production environment. ... > applications all msi packages" And we planning to replace this solution ... We just publish the new package and chose the ...
    (microsoft.public.sms.admin)
  • Re: Adding installed packages to menu
    ... installing a package with Synaptic, it was the role of Synaptic, as the ... in the Applications menu hierarchy. ... Whilst we have two servers in use; a gateway/firewall, running smoothwall, and a mailserver, running postfix, working with the utilities on them, is a bit different to dealing with user applications on the workstations. ... Thus, apparently, the differences in installation, between different distributions. ...
    (Debian-User)
  • file I/O on Windows CE using eVB
    ... I am fairly new to developing CE applications. ... for configuration purposes. ... that the compiler complains that my syntax is wrong when I ... Kevin ...
    (microsoft.public.windowsce.app.development)