My usage:
I am looking to install Java on Ubuntu 16.04. I don't do any heavy-duty coding, but I was curious what the differences were between Oracle and OpenJDK
What I ran to install
When I run the command
sudo update-alternatives --config java
as suggested here: https://poweruphosting.com/blog/install-java-ubuntu/, I get a prompt saying:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
* 2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
My attempts to answer this question:
I'm coming from OpenJDK - Oracle is better?
Here (OpenJDK vs. Oracle JDK for Android Studio) suggests OpenJDK is
- easier to debug but is
- slower
Any intense Java users care to weigh in? Thanks!