Oracle JDK, OpenJDK and MyEclipse

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  Brian Fernandes 6 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #606743 Reply

    Brian Fernandes
    Moderator

    There is a lot of concern regarding Oracle JDK in Enterprises, in particular with the new licensing model that is now in effect.

    If you are immediately required to discontinue use of all Oracle JDKs, scroll to the end for steps to facilitate that change.

    If you can wait just a little bit, it’s important to clarify a few key points:

    For context, you can get a summary of key information about the change from https://www.azul.com/eliminating-java-update-confusion/

    1. Existing versions of MyEclipse ship with Oracle JDK versions prior to JDK 11. In short, these versions are not directly impacted by this change.
    2. The change to licensing for older Oracle JDK versions impacts the access to security updates, not the ability to continue to use MyEclipse with the bundled version of the JDK.
    3. Future MyEclipse releases will be based on Open JDK version 11, or later.
    4. We understand that some companies are being safe by fully restricting the usage of Oracle’s JDK in general regardless of version and have provided steps below to switch to Open JDK immediately if required.
    5. Our target timeline for the next MyEclipse release is in February 2019.

    As mentioned above, if your company is requiring a move off of Oracle JDK, you have the following two options:

    A) Download and install a Zulu build of OpenJDK.
    These builds of OpenJDK can be used with MyEclipse out of the box.

    Edit your myeclipse.ini file (for Mac OS, this is the eclipse.ini file; refer to this post for file locations), and change the -vm argument to point to the appropriate java binary in the Zulu build. This varies by OS, as follows (showing the path after the JDK installation folder):

    • Windows bin/javaw.exe
    • Linux bin/java
    • Mac OS lib/jli/libjli.dylib

    MyEclipse 2018: Works with Zulu OpenJDK 10
    MyEclipse 2017: Works with Zulu OpenJDK 8 / 10 (use --add-modules=ALL-SYSTEM in ini file for version 10)

    OR

    B) Import missing GoDaddy certificates into your OpenJDK installation

    Download this cert file (you may need to right click and choose “Save link as”).
    Use the following command to import the certificate into your OpenJDK installation.
    keytool -import -trustcacerts -keystore <openjdk-location>/lib/security/cacerts -storepass changeit -alias godaddyclass2ca -import -file gd-class2-root.crt

    Use the steps in A to modify your MyEclipse installation to use this OpenJDK installation.
    The keytool executable can be found in the binary folder of your JDK installation.

    As stated earlier, MyEclipse will not work with any version of Java 11 (Oracle or OpenJDK). This will be addressed in the next release.

    • This topic was modified 6 months ago by  Todd Williams.
    • This topic was modified 6 months ago by  support-tony. Reason: Added VM values for different OSes
Viewing 1 post (of 1 total)
Reply To: Oracle JDK, OpenJDK and MyEclipse

You must be logged in to post in the forum log in