[
https://issues.apache.org/jira/browse/JENA-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635409#comment-16635409
]
ASF GitHub Bot commented on JENA-1609:
--------------------------------------
Github user afs commented on the issue:
https://github.com/apache/jena/pull/474
I'm trying to get a single build configuration for both java10 and java8.
I can't get Jena to build with java8 if
`<additionalOptions>-html5</additionalOptions>` is set.
It is a problem in the full build because skipping javadoc isn't an option
- the distributions include javadoc by dependency.
With java 10.0.2 (Ubuntu latest with the placeholder java11 - still waiting
for real java11): jena-elephas-common fails because:
```
[ERROR] Failed to execute goal on project jena-elephas-common: Could not
resolve dependencies for project
org.apache.jena:jena-elephas-common:jar:3.10.0-SNAPSHOT: Could not find
artifact jdk.tools:jdk.tools:jar:1.6 at specified path
/usr/lib/jvm/java-11-openjdk-amd64/../lib/tools.jar -> [Help 1]
```
(it also used MRUnit which is a retired project)
A pure maven build will put the java11 runtime (no tools.jar) on the
compile classpath.
@lewismc - am I right in concluding it worked for you in the IDE because
the java8 runtime was on the build path?
> Jena master does not build under JDK10
> --------------------------------------
>
> Key: JENA-1609
> URL: https://issues.apache.org/jira/browse/JENA-1609
> Project: Apache Jena
> Issue Type: Improvement
> Components: Build, Documentation
> Environment: Apache Maven 3.5.4
> (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T11:33:14-07:00)
> Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> Java version: 10.0.2, vendor: Oracle Corporation, runtime:
> /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"
> Reporter: Lewis John McGibbney
> Priority: Major
> Fix For: Jena 3.9.0
>
>
> When I attempt build under Oracle JDK 10 there are several issues which cause
> the build to fail. The following PR addresses these issues and enables me to
> build and run Jena master under JDK 10.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)