Skip to content

Commit

Permalink
Default to Java 9 on Windows Kokoro (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bejado authored Oct 19, 2018
1 parent 0754edb commit 979b6f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ mkdir out\cmake-release
cd out\cmake-release
if errorlevel 1 exit /b %errorlevel%

:: Force Java JDK 8. Kokoro machines default to 9
SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_152

cmake ..\.. -G Ninja ^
-DCMAKE_CXX_COMPILER:PATH="clang-cl.exe" ^
-DCMAKE_C_COMPILER:PATH="clang-cl.exe" ^
Expand Down

0 comments on commit 979b6f0

Please sign in to comment.