[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 4.2.2 fails to compile with OpenJDK 9.0.4
From: |
Mike Miller |
Subject: |
Re: Octave 4.2.2 fails to compile with OpenJDK 9.0.4 |
Date: |
Mon, 9 Apr 2018 00:11:06 -0700 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Mon, Apr 09, 2018 at 08:56:00 +0200, Alois Schlögl wrote:
> error: Source option 1.3 is no longer supported. Use 1.6 or later.
> error: Target option 1.3 is no longer supported. Use 1.6 or later.
> Makefile:27354: recipe for target
> 'scripts/java/org/octave/ClassHelper.class' failed
> make[2]: *** [scripts/java/org/octave/ClassHelper.class] Error 2
>
> I tried also
> ./configure --with-gnu-ld --with-java-homedir="$JAVA_HOME" --prefix=/
> with the same result.
>
> When manually "fixing" the Makefile with the attached patch, the
> compilation will run.
The equivalent to your patch has already been applied to the Octave
branch for the upcoming version 4.4.
> Do you have any suggestions how how to fix this ?
Continue to use the patch that you came up with, or use the patch at
https://hg.savannah.gnu.org/hgweb/octave/rev/20c83f619102, or continue
to use Java 8 with Octave 4.2.
--
mike
signature.asc
Description: PGP signature