This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180464 - Add jnlp.jar to the compile classpath when WebStart mode enabled
Summary: Add jnlp.jar to the compile classpath when WebStart mode enabled
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2010-02-09 02:42 UTC by David Strupl
Modified: 2010-03-03 22:09 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2010-02-09 02:42:21 UTC
The JNLP APIs contained in the jnlp.jar should be accessible during compilation of project when web start is enabled. BUT the jar should not be packaged with the application since the classes are contained in the javaws.jar during the deployment.
Comment 1 Tomas Zezula 2010-03-03 06:16:43 UTC
jet-main 3dda7118db91
Comment 2 Tomas Zezula 2010-03-03 06:24:23 UTC
From off line description:
Plugin will always add to bootclasspath plugin.jar, deploy.jar and javaws.jar.
However, to develop FX applet users have to add them manually if they are trying to use any of their public APIs
(e.g. JNLP services). This is unneded complication and moreover result JNLP files will include these extra .jar files
and files will be copied to the dist directory. This should not be done.

It will be much more convinient if NB will automatically add these jars to classpath as soon as user switch project properties to be applet
or webstart (for webstart mode only javaws.jar and deploy.jar need to be added). These jars should only be referenced for compile time
and should not be copied to the dist directory, attempt to execute  JNLP application or applet will pick them automatically.
They should not also be referenced from the manifest in the main jar.
Comment 3 Quality Engineering 2010-03-03 22:09:39 UTC
Integrated into 'main-golden', will be available in build *201003040200* on (upload may still be in progress)
User: Tomas Zezula <>
Log: #180464:Add jnlp.jar to the compile classpath when WebStart mode enabled