You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:40 UTC

[jira] [Issue Comment Deleted] (MESOS-8854) Building on JDK 9+ systems fails

     [ https://issues.apache.org/jira/browse/MESOS-8854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated MESOS-8854:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> 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
>              Labels: integration
>         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)