Pregunta

When trying to build JFXtras Labs 8.0 on Windows, I get various error messages such as:

Please set the environment variable JAVA_HOME to the directory that contains jre/lib/jfxrt.jar of JavaFX version 8.0.

or:

Please set the environment variable JAVA_HOME to the directory that contains jre/lib/jfxrt.jar of JavaFX version 8.0.

How should I define the environment variables?

¿Fue útil?

Solución

set JAVA_HOME="C:\Program Files\Java\jdk1.8.0\jre\"
set JAVAFX_HOME="C:\Program Files\Java\jdk1.8.0\jre\lib\ext"
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top