Opened 4 years ago

Closed 4 years ago

#465 closed defect (fixed)

Java 12 error maybe? "Source option 6 is nolonger supported"

Reported by: charmon Owned by:
Priority: major Milestone: 1.7.1
Component: build Version: 1.6.0-dev
Keywords: Cc:
Parent Tickets:

Description

When I try to compile the bear on my Mac, I'm apparently running java 12.0.2 and compiling files with an error about "Source option 6 is no longer supported" and another about "Target option 6".

Attachments (1)

jdk12.patch (772 bytes) - added by Mark Evenson 4 years ago.
Patch to compile for Java 12

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by Mark Evenson

Attachment: jdk12.patch added

Patch to compile for Java 12

comment:1 Changed 4 years ago by Mark Evenson

To run on Java 12, one needs to compile things with Java 7 as a target which the attached patch does.

My current plan is to splitting between ABCL 1 (openjdk{4,6,7,8,11}) and ABCL 2 (openjdk{8,11,12} and beyond) so this is more explicit to the user, but if someone wants to go through the current build system to more easily export this configuration to the knowledgeable developer maybe by using abcl.properties to configure things, we could also do that.

Last edited 4 years ago by Mark Evenson (previous) (diff)

comment:2 Changed 4 years ago by Mark Evenson

Component: javabuild
Milestone: 1.7.1
Resolution: fixed
Status: newclosed
Version: 1.6.0-dev

The configuration of builds for various JDKs has been consolidated into the new Bash script under the <file:ci/> directory c.f. <https://abcl.org/trac/browser/trunk/abcl/ci/create-abcl-properties.bash>.

Targets have been added to the Ant build process to run these configuration strategies as well c.f. <https://abcl.org/trac/browser/trunk/abcl/build.xml#L1249>

Note: See TracTickets for help on using tickets.