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

JAVA FX not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 11.0
    • None
    • None
    • None
    • Sofwtaer platform

    Description

      Dear All,

       

        I am trying to create JAVA simple project to test whether JAVA FX works. I have installed

       
      Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319)

      Updates:[Updates available|about:check-for-updates]

      Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12

      Runtime: Java(TM) SE Runtime Environment 12.0.1+12

      System: Windows 10 version 10.0 running on amd64; Cp1250; cs_CZ (nb)

       

        and loaded

       

      openjfx-11.0.2_windows-x64_bin-sdk  JAVA FX SDK

       

      I use JAVA Open JDK version  jdk-12.0.1

       

      -----------------------------------------------------

       

       I created really simple JAVA FX application. Did all the recommended actions esp. registering

       

      modules in VM options as

       

      --module-path="C:/Netbeans/javafx-sdk-11.0.2/lib" --add-modules=javafx.controls

       

       I can easily compile my code, but when try to run I get this error

       

      Error occurred during initialization of boot layer
      java.lang.module.FindException: Module javafx.controls not found
      C:\Users\tomas\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:111: The following error occurred while executing this line:
      C:\Users\tomas\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:68: Java returned: 1 

       

       

      Would appreciate help on this. Thx lots Tom

       

       

      Attachments

        1. 1.PNG
          28 kB
          Tomas

        Activity

          People

            Unassigned Unassigned
            Krouzel Tomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: