[
https://issues.apache.org/jira/browse/MESOS-8854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458712#comment-16458712
]
Srdjan Grubor edited comment on MESOS-8854 at 4/30/18 7:33 PM:
---------------------------------------------------------------
-Just a sidenote that this doesn't address any issues (if any - I'm finding
this out right now) occur later in the process in those JDKs.-
With both patches, I am able to build Mesos on OpenJDK11
was (Author: sgnn7):
Just a sidenote that this doesn't address any issues (if any - I'm finding this
out right now) occur later in the process in those JDKs.
> Building on JDK 9+ systems fails
> --------------------------------
>
> Key: MESOS-8854
> URL: https://issues.apache.org/jira/browse/MESOS-8854
> Project: Mesos
> Issue Type: Bug
> Components: build
> Affects Versions: 1.5.0
> Environment: Ubuntu 18.04 LTS Docker image
> Reporter: Srdjan Grubor
> Priority: Minor
> Attachments: 0001-Added-support-for-OpenJDK9-in-configure.ac.patch,
> 0001-Fix-building-on-latest-JDKs-by-converting-javah-to-j.patch
>
>
> JDK paths have changed in v9+ (no `jre/` nor arch leading to `libjvm.so`) so
> on those machines, Mesos fails to configure. Also, `javah` has been
> completely removed from JDK10+
>
> Ubuntu 18.04 image with OpenJDK11 and OpenJDK8 installed:
> {code:java}
> /usr/lib/jvm# find . -name 'libjvm*'
> ./java-11-openjdk-amd64/lib/server/libjvm.so
> ./java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so{code}
>
> I've attached a patch that seems to work in this setup
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)