Contents
How do I download JDK 15 on Linux?
To Install OpenJDK 15 Java Runtime – Enter the below command on Ubuntu 18.04 / ubuntu 20.04 command line.
- $ sudo apt-get install openjdk-15-jre.
- $ sudo apt-get install openjdk-15-jdk.
- export JAVA_HOME=/usr/lib/jvm/openjdk-15-jdk.
Where should JDK be installed on Linux?
After the installation process is complete, jdk and jre are installed to /usr/lib/jvm/<java> directory, where <java> is the actual java installation folder. For example, /usr/lib/jvm/java-6-sun .