RFR: JDK-8213362 : Could not find libjava.dylib error when initializing JVM via JNI_CreateJavaVM

Kevin Rushforth kevin.rushforth at oracle.com
Wed Nov 28 13:13:27 UTC 2018


The jpackage tool calls JLI_Launch.

-- Kevin


On 11/28/2018 5:05 AM, Alan Bateman wrote:
> On 28/11/2018 13:03, Kevin Rushforth wrote:
>> This is related to a bug I filed back in October, JDK-8211959 [1], in 
>> which JLI_Launch is failing for the same reason. The fix to 
>> java_md_macosx.m is the same one I identified in that bug. You might 
>> consider adding a test that calls JLI_Launch, but either way, 
>> JDK-8211959 can be closed as a duplicate of JDK-8213362.
> Who/what is calling JLI_Launch in your bug? Just asking as a 
> discussion point in these issues is whether JLI is a supported 
> interface or not. To my knowledge, we've never documented this native 
> interface for use by anything outside of the JDK.
>
> -Alan



More information about the build-dev mailing list