Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4610

URISyntaxException building with org-netbeans-libs-javafx.jar using Java 11.0.7 or later

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 12.0
    • 12.4
    • javafx - Deployment
    • None

    Description

      To reproduce:

      1. Create a new Java project in NetBeans
      2. Open the project properties
      3. Select the Libraries category
      4. Choose JDK 11.0.7 or later for Java Platform
      5. On the Compile tab, click the ellipsis button next to Classpath and choose Add JAR/Folder
      6. Select <NB install>/platform/modules/org-netbeans-libs-javafx.jar
      7. Save the changes and close the project properties
      8. 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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rkeen Rangi Keen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: