From 3284a61f43038180f1368d342aacca6cf4035f82 Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Wed, 13 Dec 2023 11:50:21 -0600 Subject: [PATCH] android: build with java 8 target The latest Android `sdkmanager` tool requires a version of the jdk that no longer supports Java 7 as a target --- android/run-javac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/run-javac.sh b/android/run-javac.sh index 7b31a43b0..843c29279 100755 --- a/android/run-javac.sh +++ b/android/run-javac.sh @@ -16,7 +16,7 @@ GENCLASS="$D/classes" GENINCLUDE="$D/include" mkdir -p "$GENSRC/$JAVA_PKG_PATH" -"$JAVAC" -source 1.7 -target 1.7 -Xlint:-options \ +"$JAVAC" -source 1.8 -target 1.8 -Xlint:-options \ -cp "$CLASSPATH" \ -h "$GENINCLUDE" \ -d "$GENCLASS" \