Re: Problems compiling abcl-1.6.1
Gregory Baryza <[email protected]> Tue, 28 Apr 2020 15:23:01 -0400
| Newsgroups | gmane.editors.j.devel |
|---|---|
| Message-ID | <CA+LUcYBT3MJtA4hDyeTqu3JTPrs7sQCVHBjsd8JUDRMdW4yGnQ@mail.gmail.com> |
Mark: Thank you! Especially for the quick turnaround. That works, but now there is a warning about 'yield' becoming a restricted term in future versions (presumably of Java). The warning is for src/org/armedbear/lisp/java/swing/REPLConsole.java at line 144. It says to invoke a method called 'yield', qualify the yield with a receiver or type name. FYI: I sent my mail to the address specified in the README file. Greg Baryza On Tue, Apr 28, 2020 at 1:59 PM Mark Evenson <[email protected]> wrote: > [For some reason Greg’s message wasn’t delivered via email, so I am > replying “out of band” without the proper SMTP headers.] > > > I am an ABCL user, but by no means an expert. I just unpacked the source > > zip file and tried to compile it without success. I am using Java 14.0.1 > > and Ant 1.9.6. The resulting output is attached. > > > buildfile: > C:\Users\baryza\__Library\Armed_Bear_Lisp\abcl-src-1.6.1\build.xml > > […] > > abcl.compile.java: > [javac] Compiling 271 source files to > C:\Users\baryza\__Library\Armed_Bear_Lisp\abcl-src-1.6.1\build\classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 6 > [javac] error: Source option 6 is no longer supported. Use 7 or later. > [javac] error: Target option 6 is no longer supported. Use 7 or later. > > For Java 14, we need to tell the compiler to target the right source > compatibility. > > There is a script in `ci/create-abcl-properties.bash` that works with Bash > to do configuration, but I see from your logs that you are running under > Windows. > > So do the steps manually: > > 1. copy `abcl.properties.in` to `abcl.properties` > > 2. Change the line with `abcl.javac.source` to read > > abcl.javac.source=1.8 > > > Then you should be able to compile (or at least get past this error). > > Not sure what is going on with the mailing list… > > > -- > "A screaming comes across the sky. It has happened before but there is > nothing > to compare to it now." > > > > > >