You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Michal Rama (JIRA)" <ji...@apache.org> on 2019/05/05 09:25:00 UTC
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX)
cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833172#comment-16833172 ]
Michal Rama edited comment on NETBEANS-2481 at 5/5/19 9:24 AM:
---------------------------------------------------------------
Hello,
I'm sorry, I was busy.
I created a project based on the video tutorial, but I couldn't start it.
I had to edit the project settings as described in the link (Listed at the beginning in issue links - image in attachments at the beginning).
Then it was possible to run it, but only in NetBeans. Even if I choose "Clean and Build", which is successfully completed, no jar file is created.
In addition, NetBeans will introduce several times
*Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject*
I shared the project files on github. (Listed at the beginning in issue links).
Please help
Thank you
was (Author: michal_cat):
Hello,
I'm sorry, I was busy.
I created a project based on the video tutorial, but I couldn't start it.
I had to edit the project settings as described in the link above.
!netbeans05.png!
Then it was possible to run it, but only in NetBeans. Even if I choose "Clean and Build", which is successfully completed, no jar file is created.
In addition, NetBeans will introduce several times
*Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject*
I shared the project files on github. (Listed at the beginning).
Please help
Thank you
> 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: 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists