JAVAFX_HOME path doesn't work


I have installed JavaFX SDK on my machine, and set the JAVAFX_HOME environmental variable to the root directory of the SDK but when I try to echo it on the commandline, I only get back what I wrote after echo:

C:\Java\workspace-ecmc\CMX\CmxDesigner>echo %JAVAFX_HOME%


I acted the same with JAVA_HOME but it works properly.

4/13/2012 1:46:37 PM

Accepted Answer

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.

6/21/2013 1:40:39 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow