directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Fwd: Re: build issues on macos 10.14
Date Thu, 16 May 2019 13:43:00 GMT
HI Daan,

We haven't tested the build with Java 9. Also note that Java 9 (and 10) 
are now EOLed.

I strongly suggest you also install another Java version  rathert han 
the Oracle one, as its license has recently changed and does not allow 
you to run it on your machine without paying something. Please check, this is  what I'm using on my Mac, and it 
works just fine.

comments inline

On 16/05/2019 14:07, Daan Hoogland wrote:
> H,
> I am building directory server on macos 10.14.4 in order to try and 
> embed it in a Apache CloudStack test suit(, for now).
> I have tried 1.5.7, 2.0.0.AM25 and latest head several times. 
> toolchain describes itself as below. I am pretty sure the jenv 
> messages are not indicative of an error. Each version shows a 
> different error during the build and I've been looking for a correct 
> combination for a while now. any help is appreciated. I finally 
> managed to build latest head but with some local cleans and builds 
> (-rf options). Is there some special build requirements in terms of 
> JVM options that I should look at to make sure the build succeeds 
> without hick-ups?
> Thanks in advance
> $ jenv doctor
> [OK]    No JAVA_HOME set
> [OK]    Java binaries in path are jenv shims
> [OK]    Jenv is correctly loaded
> $ jenv version
> system (set by /Users/dahn/.jenv/version)

This is more than bizarre. When I run this command, here is what I get :

$ jenv version
1.8 (set by /Users/elecharny/.jenv/version)

I suspect you have something wrong set in your environment

> $ mvn -version
> Unable to find any JVMs matching version "system".
> Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
> MaxPermSize; support was removed in 8.0
> Listening for transport dt_socket at address: 8787
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
> 2018-10-24T20:41:47+02:00)
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
> Java version: 9, vendor: Oracle Corporation, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
> Default locale: en_NL, platform encoding: UTF-8
> OS name: "mac os x", version: "10.14.4", arch: "x86_64", family: "mac"
> -- Daan

View raw message