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

Missing support for version of JDK higher than 8 for Maven JavaFX projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.0
    • None
    • MacOS High Sierra; NetBeans 10.vc5 running on JDK 10.0.1  

    • Important

    Description

      If the following properties (of a javaFX maven based project) : "Java platform" and/or "Source/Binary format" are set to anything higher than "JDK 1.8", then "Clean and Build" (as well as "Run") operation would fail. 

      Different combination o these parameters would produce different errors.

      To reproduce, simply create a new JavaFX Maven Project: New Project -> Maven: Java FX Application. And then try to Clean and Build / or Run. 

      The most typical error is 

      Cannot run program "/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/javafxpackager"

      (Note, as of 1.8 the  javafxpackager does nto exist anymore)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              r-go r-go
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: