[nbusers] JavaFX2 project error com.javafx.main.Main Unable to find main class

  • From: "ed4becky" < >
  • To:
  • Subject: [nbusers] JavaFX2 project error com.javafx.main.Main Unable to find main class
  • Date: Fri, 29 Jun 2012 13:50:12 -0400

Posted this on the Oracle JavaFX2 forum by mistake...

Ever since Netbeans 7.2 beta and continuing with 7.2 RC1, whenever I try to 
run my JavaFX 2 project I get the error:

"Error: Could not find or load main class com.javafx.main.Main"

The workaround used to be to run the file itself, but now RC1 disallows that 
with a pop that says:

"JavaFX 2 launch model does not support single file execution. Proceed with 
execution of project?"

To which I would LIKE to respond "I wish I could!"

Anyone have any ideas?

Running JavaFX JDK 2.2, Java 7 u4






[nbusers] JavaFX2 project error com.javafx.main.Main Unable to find main class

ed4becky 06/29/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close