Open kP700c-github opened 2 years ago
Windows 10, OpenJDK 17.0.2, JavaFX 17.0.2,
Java directory: D:\Program Files\Java\jdk-17.0.2\
JavaFX directory: D:\Program Files\Java\jdk-17.0.2\javafx\
Set environment variable PATH: PATH=D:\Program Files\Java\jdk-17.0.2\bin\
Set environment variable JAVA_HOME: JAVA_HOME=D:\Program Files\Java\jdk-17.0.2\
Set environment variable PATH_TO_FX: PATH_TO_FX=“D:\Program Files\Java\jdk-17.0.2\javafx\lib”
Test compilation: samples-master\HelloFX\CLI\hellofx\HelloFX.java
javac --module-path %PATH_TO_FX% --add-modules javafx.controls HelloFX.java
Error message: error: no source files
I confirm that HelloFX.java exists in the current directory. How come the error message says “no source files”?
Windows 10, OpenJDK 17.0.2, JavaFX 17.0.2,
Java directory: D:\Program Files\Java\jdk-17.0.2\
JavaFX directory: D:\Program Files\Java\jdk-17.0.2\javafx\
Set environment variable PATH: PATH=D:\Program Files\Java\jdk-17.0.2\bin\
Set environment variable JAVA_HOME: JAVA_HOME=D:\Program Files\Java\jdk-17.0.2\
Set environment variable PATH_TO_FX: PATH_TO_FX=“D:\Program Files\Java\jdk-17.0.2\javafx\lib”
Test compilation: samples-master\HelloFX\CLI\hellofx\HelloFX.java
javac --module-path %PATH_TO_FX% --add-modules javafx.controls HelloFX.java
Error message: error: no source files
I confirm that HelloFX.java exists in the current directory. How come the error message says “no source files”?