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%
%JAVAFX_HOME%
I acted the same with JAVA_HOME but it works properly.
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.