- Loading...
...
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:
C:\Program Files\Java\jdk-1011
.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.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.