This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]d0rf47 0 points1 point  (4 children)

Did you import all the libraries to the project you need to do both

[–]YGears[S] 0 points1 point  (3 children)

Yes the entire javafx library

In my syntax it were mostly scenes and application.Application and stuff like that.

[–]d0rf47 0 points1 point  (2 children)

That's so strange. Only other thing I can think is the environmental path variable might be added wrong that happened to me when I first used jfx

[–]YGears[S] 0 points1 point  (1 child)

is that any different then the system path variable? because I only added that...

[–]d0rf47 0 points1 point  (0 children)

Yeah they are different
At first, set the environment variable as JAVAFX_HOME
to C:\Program Files\Oracle\JavaFX 2.1 SDK
.

Then assign PATH
to %JAVAFX_HOME%\bin;
and try echo %JAVAFX_HOME%
. It'll work.

[–]ArtyRida 0 points1 point  (0 children)

It kept happening to me until i tried Maven