When I install JDK, shoukd I delete other java first?

Issues related to applications and software problems
Post Reply
solo85
Posts: 4
Joined: 2017/06/27 03:10:49
Contact:

When I install JDK, shoukd I delete other java first?

Post by solo85 » 2017/06/28 03:37:22

I am going to create software with Intellij. I am wondering if I need to install JDK from Oracle at all? And if I choose to do so, should I delete other Java already installed on my Linux?

Here is what version says before I have done anything...

Code: Select all

[sindre@britney ~]$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
Greetings from the cold norths of Scandinavia! Always stay cool! Website: nettport.com

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: When I install JDK, shoukd I delete other java first?

Post by TrevorH » 2017/06/28 06:31:01

Use the alternatives command to set which java is used.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply