[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: |
Alois Schloegl |
Subject: |
Re: Octave 4.2.2 fails to compile with OpenJDK 9.0.4 |
Date: |
Mon, 9 Apr 2018 12:19:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 2018-04-09 09:11, Mike Miller wrote:
> 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.
>
Thanks for that hint.
Best,
Alois