This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240141 - Run File not working
Summary: Run File not working
Status: RESOLVED DUPLICATE of bug 239957
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 08:28 UTC by svanimpe
Modified: 2014-01-09 15:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description svanimpe 2014-01-09 08:28:38 UTC
The result of doing a Run File on the Application class in a Maven JavaFX project was the following error:

--- exec-maven-plugin:1.2.1:exec (default-cli) @ pong ---
Error: Could not find or load main class svanimpe.AnimationTimerTest
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.055s
Finished at: Thu Jan 09 09:20:13 CET 2014
Final Memory: 7M/120M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project animation: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

The main class is set up in pom.xml, and running the project with Run Project instead of Run File works fine.

This is using build 201401030002 with JDK 8 b121 on OS X 10.9.1.
Comment 1 Milos Kleint 2014-01-09 15:39:49 UTC
duplicate of another issue? afaik was not originally meant to work as running files is not that simple with fs apps, at least with some versions of java?
Comment 2 Roman Svitanic 2014-01-09 15:43:09 UTC
(In reply to Milos Kleint from comment #1)
> duplicate of another issue? afaik was not originally meant to work as
> running files is not that simple with fs apps, at least with some versions
> of java?

Yes, it's a duplicate.

*** This bug has been marked as a duplicate of bug 239957 ***