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 269759 - NLP failed : Error: -includedt requires the java deployment toolkit, which is not included in this distribution
Summary: NLP failed : Error: -includedt requires the java deployment toolkit, which is...
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-06 14:02 UTC by Tomas Zezula
Modified: 2017-02-06 16:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2017-02-06 14:02:11 UTC
The following error  happens during build of the JavaFX project:

JNLP failed : Error: -includedt requires the java deployment toolkit, which is not included in this distribution
com.sun.javafx.tools.packager.PackagerException: Error: -includedt requires the java deployment toolkit, which is not included in this distribution

The problem is caused by a wrong split of the ant-javafx.jar. The resources/web-files are still in the ant-javafx.jar but the class which copies them (PackageLib) is in the jdk.packager (parent classloader of classes from ant-javafx.jar). The PackagerLib does not see the resources.


To workaround the problem set the:
javafx.deploy.includeDT to false
in the nbproject/project.properties
Comment 1 Tomas Zezula 2017-02-06 16:00:12 UTC
The JDK issue: https://bugs.openjdk.java.net/browse/JDK-8173775