I have a new system Linux Ubuntu 16.04
. I have downloaded(only downloaded not installed) Java 9 and in the downloads folder there are two folders related to Java 9 (jdk-9.0.4
) and (jdk-9.0.4_linux-x64_bin.tar.gz
).
Now I want to keep Java 8 and remove from downloads all the things related to Java 9. But when in terminal I write javac -version it gives me
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
How to remove everything related to Java 9 from the downloads folder? How to enable and run the Java 8 which is showing present Why there are no folders related to Java 8 in the computer