Closed j-woz closed 2 years ago
the following changes make it work:
diff --git a/stc/code/build.xml b/stc/code/build.xml
index 00185e7c6..0cfb71b2d 100644
--- a/stc/code/build.xml
+++ b/stc/code/build.xml
@@ -142,8 +142,8 @@
debuglevel="source,lines,vars"
includeantruntime="false"
classpath=".:${antlr.jar}"
- target="1.6"
- source="1.6">
+ target="1.7"
+ source="1.7">
<compilerarg value="-Xlint"/>
<compilerarg value="-Xlint:-cast"/>
</javac>
Apparently the new Java 19 (circa Sept. 2022) on Mac will not accept Java 6 (circa Dec. 2006) source code. I will update the source to Java 7.
CC @rajeeja @ketancmaheshwari