Skip to content

Commit e046097

Browse files
authored
Merge pull request #22 from ISISComputingGroup/css_java_17_build
Target Java 17
2 parents 35e8955 + ed1db42 commit e046097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ set "MAVEN_OPTS=-Xmx4096m"
2424
REM general JVM options also for eclipse/tycho
2525
set "JAVA_TOOL_OPTIONS=-Djdk.util.zip.disableZip64ExtraFieldValidation=true"
2626

27-
for /D %%I in ( "C:\Program Files\AdoptOpenJDK\jdk-11*" "C:\Program Files\Eclipse Adoptium\jdk-11*" ) do SET "JDKDIR=%%I"
27+
for /D %%I in ( "C:\Program Files\AdoptOpenJDK\jdk-17*" "C:\Program Files\Eclipse Adoptium\jdk-17*" ) do SET "JDKDIR=%%I"
2828

2929
if "%JDKDIR%" == "" (
30-
@echo "ERROR: Cannot find JDK 11 - please check/install"
30+
@echo "ERROR: Cannot find JDK 17 - please check/install"
3131
@echo Oracle Java will no longer be found/used - please install OpenJDK https://adoptopenjdk.net/releases.html#x64_win
3232
goto error
3333
)

0 commit comments

Comments
 (0)