Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

package javafx.application does not exist

833550Jul 2 2011 — edited Jul 2 2011
Hi,

I have installed the javaFx 2.0 beta (in accordance with the instructions). I have installed the latest JDK 1.6 and 1.7. I saved the plugin in a separat directory under C:/program. The NB 7 and the plug in ins x64 versions.

When I create a new JavaFX application I get a red dot for each line containing Application (package javafx.application does not exist). How do I correct this?

/Jonas

Comments

shakir.gusaroff Jul 2 2011
You do not need the jdk1.7 for javafx development.
For more information take a look at http://download.oracle.com/javafx/2.0/system_requirements/jfxpub-system_requirements.htm
833550 Jul 2 2011 — edited on Jul 2 2011
I have JDK 1.6 update 26 installed and set as the java platform to use. I still get the "package javafx.application does not exist" in the code and in the import statments.

Edited by: Jolun on 2011-jul-02 06:43
shakir.gusaroff Jul 2 2011 — edited on Jul 2 2011
Take a look at this thread
2231929

P.S For Javafx2.0 related questions there is a javafx2.0 category.

Edited by: shakir.gusaroff on Jul 2, 2011 7:04 AM
833550 Jul 2 2011 — edited on Jul 2 2011
Yes I have read it but I don't think it realates to my problem. Before I installed the JavaFX the check so it was up to date.

I think the problem is that "import statement" looks for the javafx but can't find it (reference problem?)

/Jonas

Edited by: Jolun on 2011-jul-02 11:10
darrylburke Jul 2 2011
Moved here from the JavaFX 1.x forum,

db
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 30 2011
Added on Jul 2 2011
5 comments
7,911 views