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 236626 - Main class files will not compile and run unless whole project is built.
Summary: Main class files will not compile and run unless whole project is built.
Status: RESOLVED DUPLICATE of bug 234967
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 03:51 UTC by MackSix
Modified: 2013-10-02 07:38 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 MackSix 2013-10-02 03:51:41 UTC
1. Create a JavaFx Ant project.
2. Add new Main class file to JavaFX project.
3. Context menu >> Run file. (Shift+F6)

File fails to run. Error: Could not find or load main class javafxtest.NewFXMain

Workaround: Build whole project.

Product Version: NetBeans IDE 7.4 RC2 (Build 201309252201)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Roman Svitanic 2013-10-02 07:38:48 UTC
Thanks for the report, this has been already fixed for the next release (after 7.4).

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