JVM shared library does not contain the JNI_CreateJavaVM symbol [message #1823974] |
Sun, 05 April 2020 17:26  |
Eclipse User |
|
|
|
i have installed Papyrus 4.7 on the Mac, OS version Mojave(10.14.6), and when I try to launch it I get the following error:
"The JVM shared library "/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib"
does not contain the JNI_CreateJavaVM symbol."
I have googled and searched on this forum(for about 3 hours). I have tried to the change to '-vm" value in the info.plist and it still does not work.
I have tried it on another machine, and a few teammates have tried as well. Same issue. Does anyone run Papyrus on the mac? Does this even get tested before release? I found it mind boggling that this does not work on any machine that i have tried, not anyone of my teammate's machines.
Note, that I installed the latest Eclipse and it does launch just fine.
So, does anyone know what is going on here?
Thanks,
Jesse
|
|
|
|
|
|
|
|
|
|
|
Re: JVM shared library does not contain the JNI_CreateJavaVM symbol [message #1837463 is a reply to message #1837459] |
Sat, 30 January 2021 13:10   |
Eclipse User |
|
|
|
Claude Rousseau wrote on Sat, 30 January 2021 14:56smaoui asma wrote on Thu, 28 January 2021 11:05the info.plist is in the Contents folder of the Papyrus.app In Mac Machine you can open the Papyrus.app usiong the terminal Best Regards
Hello Thx Asma
I've learnt how a Mac app was built ; I didn't know that actually, it was a folder .app, with a Contents sub-folder.
Now, I could open the info.plist file and have performed the mentioned actions:
I've run: /usr/libexec/java_home -V to get the full path of jdk 11
I've added the b below line out of the comments:
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-11.0.9.jdk/Contents/Home</string>
Now, when running Papyrus, I'm getting a new message:
Translating from french:
You need Java6 to run this application
What do to?
Thx again for your kind help
Here is what the info.plst file looks like ; now, I'm always getting the initial error message
<array>
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
or add a VM found via $/usr/libexec/java_home -V
<string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
-->
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-11.0.9.jdk/Contents/Home/bin/java</string>
<string>-keyring</string>
<string>~/.eclipse_keyring</string>
</array>
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05962 seconds