6

I'm trying to download the eclipse IDE in my macbook but every time I try to start downloading this warning shows up: "The JVM shared library "/Library/Java/JavaVirtualMachine/jdk1.8.0_231.jdk/Contents/Home/bin/.../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol" I've tried to change the JDK from 13 to 8 but the problem persists, what should I do to fix it?

Lucasfig
  • 71
  • 1
  • 4
  • Please read [mcve] and enhance your question accordingly. Exactly describe the steps you took. – GhostCat Dec 20 '19 at 19:17
  • What version of Eclipse are you trying to use? The current version (2019-12) should run without issues on Java 8 or Java 13. – greg-449 Dec 20 '19 at 20:39
  • 3
    I met the same issue – PLee Dec 22 '19 at 04:39
  • 1
    I have the same issue on my m1 macbook. I have tried the answer below without any success. My eclipse version is eclipse jee 2020-03 and 2020-12. – Ste Feb 25 '21 at 09:47

1 Answers1

0

Make sure you are using the 64 bit version of Mac Eclipse.

If the 64 bit version still didnt help you, please try the steps mentioned in the below link,

JVM Shared library does not contain the JNI_CreateJavaVM symbol

Sreedhar S
  • 699
  • 9
  • 21
  • I'm using the 64 version, I've tried to do those steps but I can't edit the 'Info.plist' because it's blocked, is there any way I can unblock the file? – Lucasfig Dec 20 '19 at 19:44
  • Open a Terminal window. Change to the place where the plist file is located: cd ~/Library/Preferences/ Change the ownership and permissions on the file so you can read and write it: sudo chown $USER aomDSP.plist sudo chmod u+w aomDSP.plist You probably don't need sudo on the second call there, but it can't hurt. You'll need administrator access to the machine to do this. IF it still not allowing the edit by unlocking the file, you can duplicate it, edit and then remove the original file.Or Put in on the desktop,then you can change it, then put it back in the folder where it was before – Sreedhar S Dec 20 '19 at 20:23