Solution to eclipse startup error after installing Oracle JDK 7.0 with 8.0 for MAC OS x

Source: Internet
Author: User

StartEclipse, a direct error is
theJVMShared Library "/library/Java/javaVirtualMachines/jdk1.8.0_25.jdk/contents/home/bin/. /jre/lib/server/libjvm.dylib "
does not contain the JNI_CREATEJAVAVM symbol.

unable to find any JVMs matching architecture "i386".
eclipse[526:14077] Error loading/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/macos/ Libjli.dylib:dlopen (/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/macos/libjli.dylib, 265): No  Suitable image found. Did find:
/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/macos/libjli.dylib:mach-o, but wrong architecture< /c1>

since the newspaper wrong architecture wrong, look at these two documents in the end what is the situation:

by executing lipo-info/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/home/bin/. /jre/lib/server/libjvm.dylib
architectures in the FAT file:/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/home/bin/. /jre/lib/server/libjvm.dylib are:x86_64

and Lipo-info/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/macos/libjli.dylib
non-fat File:/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/macos/libjli.dylib is architecture: x86_64

clearly shows the architecture:x86_64, and the real source is found because Eclipse is 32-bit, andOracle JDK7.0 and 8.0 are64 Guests, the problem solved is simple, download Eclipse 64-bit for MAC OS x.
because the result of/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/home/bin/java-d32-version execution is:
Error:this Java Instance does not the support a 32-bit JVM.
Please install the desired version.

Referencehttps://bugs.eclipse.org/bugs/show_bug.cgi?id=411361Such solutions are futile, change 64-bitversionEclipse is the right path.

Solution to eclipse startup error after installing Oracle JDK 7.0 with 8.0 for MAC OS x

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.