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.
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.
jet-main 3dda7118db91
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.
Integrated into 'main-golden', will be available in build *201003040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3dda7118db91 User: Tomas Zezula <tzezula@netbeans.org> Log: #180464:Add jnlp.jar to the compile classpath when WebStart mode enabled