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

Project (with OpenJavaFX) cannot run outside of NetBeans

    XMLWordPrintableJSON

    Details

      Description

      Hello,

      I have a problem running a project (with OpenJavaFX) outside NetBeans.

      I used this tutorial - https://openjfx.io/openjfx-docs/ (specifically JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat and I don't understand why there is no simpler way. Adding an external library is not difficult, unlike OpenJavaFX, which until recently was part of the JDK.

      But I already turned away from the subject. When I start a jar (in the dist folder) outside of NetBeans, nothing happens.

      The problem is that the external libraries are normally created in the dist / lib folder (if you want to include them in the jar, you need to create a "fat" jar), but nothing has been added to the lib folder.

      Why does this happen?

      Please help.

      Thank you

        Attachments

        1. HelloFX.zip
          5 kB
          Geertjan Wielenga
        2. netbeans05.png
          530 kB
          Michal Rama

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Michal_cat Michal Rama
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: