Which Jdk Do I Have Linux?
Contents Open a Terminal Window. 3. the Output Should Display the Version of the Java Package Installed on Your System. in the Example Below, Openjdk Version...
Open a terminal window. 3. The output should display the version of the Java package installed on your system. In the example below, OpenJDK version 11 is installed.
How do I know where my jdk is installed 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 .
Must Read
How do I know if I have jdk installed?
You might have either JRE(Java Runtime Environment) which is required to run java applications on the computer or JDK as shown below. 1. Open command prompt and enter “java –version”. If installed version number is displayed.