Results 1 to 4 of 4

Thread: Can I have OpenJDK and OracleJDK and the same time?

  1. #1

    Default Can I have OpenJDK and OracleJDK and the same time?

    Hi there

    OpenJDK 1.8 is already installed on my system.

    I need to install OracleJDK 1.8.

    Should I remove OpenJDK and then install OracleJDK?

    What if I install both?

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Can I have OpenJDK and OracleJDK and the same time?

    you need both (the reason is an old silly bug in oracle's rpm)

  3. #3

    Default Re: Can I have OpenJDK and OracleJDK and the same time?

    I installed Oracle-JDK rpm file by :
    Code:
    sudo zypper in jdk-8u25-linux-x64.rpm
    But, How can I change default JDK to OracleJDK ?

    Still OpenJDK is default JDK.

  4. #4

    Default Re: Can I have OpenJDK and OracleJDK and the same time?

    Quote Originally Posted by kamrava View Post
    But, How can I change default JDK to OracleJDK ?
    With "update-alternatives".

    See https://en.opensuse.org/SDB:Installi...e_Java_default .

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •