0

I have java oracle 7 installed. To build some library from the source code I do have to install openJDK 7. I don't know why they require but they do require it.

What's the safe way to install openJDK 7 when java oracle 7 is already installed?

1 Answer 1

1

openjdk-7-jdk is a installable package. There is no problem with a parallel installation.

sudo apt-get install openjdk-7-jdk

And maybe you should install Oracle Java via PPA:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
2
  • @jawanam Were you satisfied with my answer? Then give me an upvote (∧). If I could solve your problem, then it would be nice if you'd mark my answer (✓). askubuntu.com/help/someone-answers ;)
    – A.B.
    Jun 20, 2015 at 21:57
  • I'll upvote you :) Works perfectly with version 8 as well
    – pandaadb
    Mar 22, 2017 at 12:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .