Forum Stats

  • 3,826,778 Users
  • 2,260,707 Discussions
  • 7,897,072 Comments

Discussions

When I Install jdeveloper on mac Using the Platform-Specific Installer. I get this error

User_85FJL
User_85FJL Member Posts: 1 Green Ribbon
edited Jul 20, 2021 3:27AM in Java Virtual Machine (JVM)

Unrecognized option: -d64

Error: Could not create the Java Virtual Machine.

Tagged:
User_XVTOM

Answers

  • User_XVTOM
    User_XVTOM Posts: 1 Employee

    I'm facing the same issue. Apparently Jdev 10 deprecated the use of -d64 and -d32 options. So the installer crashes while checking these options.

  • User_VBJI9
    User_VBJI9 Member Posts: 1 Employee
    edited May 17, 2022 10:40PM

    I faced the same issue. My solution was to download the macOS version of JDK 1.8 from https://www.oracle.com/java/technologies/downloads/

    NOTE: The JDeveloper installer requires the actual JDK, not a JRE.

    After installing JDK 1.8, I modified my .profile as follows:

    ---cut---cut---cut---

    JH=$(ls -1d /Library/Java/JavaVirtualMachines/jdk1.8*.jdk | tail -1)

    export JAVA_HOME="$JH/Contents/Home/bin"

    export PATH=$JAVA_HOME:$PATH

    ---cut---cut---cut---

    In the case of multiple versions of the JDK 1.8 installed, the above method will take the latest installed version.

    NOTE: After editing .profile, quit and restart the Terminal.app in order for changes to take effect. Then cd to where you have the JDeveloper .jar files and continue with the installation as per the JDeveloper instructions.