You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing jabba and [email protected] on Mac, eclipse would not start.
A dialog was displayed with a message similar to "JVM Shared library does not contain the JNI_CreateJavaVM symbol".
In terminal, an error message indicated that ".jabba/jdk/[email protected]/Contents/MacOS/libjli.dylib: file too short".
This SO answer pointed me to the root cause.
For Java 11, Contents/MacOS/libjli.dylib should be a symbolic link pointing to ../Home/lib/jli/libjli.dylib (for Java 8 it should link to ../Home/jre/lib/jli/libjli.dylib), but instead it is a zero-length file. This was the case for the 3 JDKs I installed on Mac using jabba: [email protected] [email protected] [email protected]
I directly downloaded [email protected] from the url listed in index.json and extracted it using archive utility. Contents/MacOS/libjli.dylib was a valid symbolic link.
Based on this, jabba's tar.gz extraction on Mac is not preserving symbol links.
The text was updated successfully, but these errors were encountered:
I think I can reproduce this on Linux when I install graal. The bin/native-image executable extracted by jabba is an empty file, but if I extract a tgz I downloaded manually it's a symlink
Any workaround, beside installing manually?
Thanks!
EDIT: version tested 0.9.2 upgraded to 0.11.0 same outcome
My sincere apologies for the delayed response (for some reason "Notifications" were set to "Not Watching" and so I wasn't getting any messages for over 3 weeks).
After installing jabba and [email protected] on Mac, eclipse would not start.
A dialog was displayed with a message similar to "JVM Shared library does not contain the JNI_CreateJavaVM symbol".
In terminal, an error message indicated that ".jabba/jdk/[email protected]/Contents/MacOS/libjli.dylib: file too short".
This SO answer pointed me to the root cause.
For Java 11, Contents/MacOS/libjli.dylib should be a symbolic link pointing to ../Home/lib/jli/libjli.dylib (for Java 8 it should link to ../Home/jre/lib/jli/libjli.dylib), but instead it is a zero-length file. This was the case for the 3 JDKs I installed on Mac using jabba:
[email protected]
[email protected]
[email protected]
I directly downloaded [email protected] from the url listed in index.json and extracted it using archive utility. Contents/MacOS/libjli.dylib was a valid symbolic link.
Based on this, jabba's tar.gz extraction on Mac is not preserving symbol links.
The text was updated successfully, but these errors were encountered: