Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
12.0
-
None
Description
To reproduce:
- Create a new Java project in NetBeans
- Open the project properties
- Select the Libraries category
- Choose JDK 11.0.7 or later for Java Platform
- On the Compile tab, click the ellipsis button next to Classpath and choose Add JAR/Folder
- Select <NB install>/platform/modules/org-netbeans-libs-javafx.jar
- Save the changes and close the project properties
- Clean and build the project
You'll see the following error in the build output:
error reading <NB install>/platform/modules/org-netbeans-libs-javafx.jar; java.net.URISyntaxException: Illegal character in path at index <index of $>: file:/<NB install>/platform/modules/${java.home}/lib/ext/jfxrt.jar