[
https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833367#comment-16833367
]
Geertjan Wielenga commented on NETBEANS-2481:
---------------------------------------------
"Error: JavaFX runtime components are missing, and are required to run this
application"
This error is shown since the Java 12 launcher checks if the main class extends
javafx.application.Application. If that is the case, it is required to have the
javafx.graphics module on the module-path.
I know the above because I have read this:
https://openjfx.io/openjfx-docs/#IDE-NetBeans
> Project (with OpenJavaFX) cannot run outside of NetBeans
> ---------------------------------------------------------
>
> Key: NETBEANS-2481
> URL: https://issues.apache.org/jira/browse/NETBEANS-2481
> Project: NetBeans
> Issue Type: Bug
> Components: java - Project, javafx - Project
> Affects Versions: 10.0
> Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1
> Reporter: Michal Rama
> Priority: Blocker
> Labels: dist, jar, java, javafx, project
> Attachments: HelloFX.zip, netbeans05.png
>
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists