Opened 5 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)
Change History (3)
Changed 5 years ago by
Attachment: | jdk12.patch added |
---|
comment:1 Changed 5 years ago by
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.
comment:2 Changed 4 years ago by
Component: | java → build |
---|---|
Milestone: | → 1.7.1 |
Resolution: | → fixed |
Status: | new → closed |
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>
Patch to compile for Java 12