|
|
|
|
Re: JVM shared library does not contain the JNI_CreateJavaVM symbol [message #1836137 is a reply to message #1824033] |
Tue, 22 December 2020 11:18 |
nimo mayr Messages: 22 Registered: April 2019 |
Junior Member |
|
|
I also have exact the same problem with "2020-12 release (5.0.0)" on Mac OS.
"The JVM shared library "/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib"
does not contain the JNI_CreateJavaVM symbol."
With older versions of papyrus (2019-03) it works without this problem. I also have a seperate eclipse installation of the current release which also runs without problems. So it may be that anything is wrong with the Papyrus RPC settings? I have also tried to explicitly set the jvm path in both papyrus.ini and info.plist with no success. Anyone knows how to solve this issue?
[Updated on: Tue, 22 December 2020 11:24] Report message to a moderator
|
|
|
|
|
|
|
Re: JVM shared library does not contain the JNI_CreateJavaVM symbol [message #1837463 is a reply to message #1837459] |
Sat, 30 January 2021 18:10 |
Claude Rousseau Messages: 10 Registered: January 2021 |
Junior Member |
|
|
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>
|
|
|
|
|
|
Re: JVM shared library does not contain the JNI_CreateJavaVM symbol [message #1837805 is a reply to message #1837699] |
Sun, 07 February 2021 15:46 |
Claude Rousseau Messages: 10 Registered: January 2021 |
Junior Member |
|
|
Hello Asma
I've cleant the Java cache. I'm quite sure I've installed Java 11 but, when looking at system preferences, I only see Java 8 is present. Strange. I'll try to set it up again
The same message is displayed when running Papyrus and the message displays a Java 11 directory
No other release than jdk, available for my Mac
Once set up again, in Java control panel, I can only see Java 8 JRE
When running java --version, I can see also JDK 11
[Updated on: Sun, 07 February 2021 16:02] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05382 seconds