Skip to main content

jnlp.jar vs javaws.jar

2 replies [Last post]
evickroy
Offline
Joined: 2004-07-23

Can someone explain why the jnlp API services are contained in the jnlp.jar file AND the javaws.jar file? The jnlp.jar file just contains the service classes, but the javaws.jar also includes the implementation classes. Is the jnlp.jar file just a convenience jar for compilations? Just curious.

Thanks
Erik

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dietz3
Offline
Joined: 2006-02-14

This is only due to the history of javaws
Originally, javaws was release as a stand alone product.
There was an additional developers pack that contained, along with other things, jnlp.jar. This was so jnlp applications could be developed without necessarily having javaws installed on the system (or knowing where, since as a stand along program javaws wasn't installed in the same place as the java sdk).
Now that javaws (since 1.4.2) has only been available as part of the jre, this really isn't necessary.
We may wish to move the contents of jnlp.jar into java proper (rt.jar) in 7.0, and remove jnlp.jar as a seperate entity.

/Andy

evickroy
Offline
Joined: 2004-07-23

Thanks for the reply Andy.

I figured as much. I know a few people that were deploying a Webstart application and they were going to deploy the jnlp.jar file, which seemed unneccessary.

Thanks again.
Erik