From f127e9aa3e7ca00da1505c64717e799e2c547736 Mon Sep 17 00:00:00 2001 From: Niclas Finne Date: Sun, 17 Oct 2021 01:24:01 +0200 Subject: [PATCH] Compile for Java 11 --- Makefile | 4 ++-- build.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 427ffe5..d409e4b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Makefile for mspsim # # Needed stuff in the PATH: -# java, javac (JDK 1.7 or newer) +# java, javac (JDK 11 or newer) # # Under MS-DOS/Windows # A GNU compatible Make (for example Cygwin's) @@ -46,7 +46,7 @@ SPACE := ${EMPTY} ${EMPTY} LIBS := ${wildcard lib/*.jar} BUILD := build CLASSPATH=${subst ${SPACE},${SEPARATOR},$(BUILD)/ ${LIBS}} -CCARGS=-deprecation -Xlint:unchecked -source 1.7 -target 1.7 -classpath ".${SEPARATOR}${CLASSPATH}" -d $(BUILD) +CCARGS=-deprecation -Xlint:unchecked -source 11 -target 11 -classpath ".${SEPARATOR}${CLASSPATH}" -d $(BUILD) JAVAARGS=-classpath "${CLASSPATH}" diff --git a/build.xml b/build.xml index bf768e5..5152910 100644 --- a/build.xml +++ b/build.xml @@ -8,8 +8,8 @@ - - + +