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

Summary: NLP failed : Error: -includedt requires the java deployment toolkit, which is not included in this distribution
Product: javafx Reporter: Tomas Zezula <tzezula>
Component: ProjectAssignee: Roman Svitanic <rsvitanic>
Status: NEW ---    
Severity: normal CC: mbalin, WallaceJackson
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

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