Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You will likely need to set the following env variables to point to your VS 2017 installation, since Microsoft no longer sets such variables. This presumes that:

  • You installed JDK 10 11 in C:\Program Files\Java\jdk-1011.
  • You installed the Community edition of Visual Studio 2017 in C:\Program Files (x86)\Microsoft Visual Studio\2017\Community. If this isn't set correctly, you might see an error during the build saying that vcvars32.bat is missing.
  • The folder name under C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC is 14.11.25503. If this isn't set correctly, you might  see an error during the :graphics:compileDecoraNativeShadersWin build task saying that cl.exe is missing. If you update VS, the folder name might change and you'll have to reconfigure the variable.

...

Code Block
export VS150COMNTOOLS="C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build"
export JAVA_HOME="C:/Program Files/Java/jdk-1011"
export MSVC_VER=14.11.25503

...

Code Block
    "$JAVA_HOME/bin/java" -version
    gradle -version
    ant -version

 


IMPORTANT: Any time you change env settings or install new software after a failed build of JavaFX you should execute the following three commands:

...

Test, review and commit as normal.