What is the difference between different jdk java files: default-java, java-1.8.0-openjdk-amd64, java-8-openjdk-amd64, java-8-oracle

they are all in my / usr / lib / jvm / .. file on my ubuntu machine. Can someone explain the differences between these 4 files and why a file named java1.8.0_91 is not considered a JDK? I stumbled upon these files by finding the JDK for android studio.

+6
source share
1 answer

Most of these directories are symbolic links to each other. You may have two JDK / JREs installed: Open JDK and Oracle JDK. See here and here for the difference between Open JDK / Oracle JDK and between JDK and JRE. java1.8.0_91 is probably a JRE, not a JDK.

+4
source

All Articles