Where Is Openjdk Path in Linux?

Where Is Openjdk Path in Linux?
Contents

OpenJDK 11 is located at /usr/lib/jvm/java-11-openjdk-amd64/bin/java. OpenJDK 8 is located at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java.

Where is Java located on Linux?

The Java files are installed in a directory called jre1. 8.0_73 in the current directory. In this example, it is installed in the /usr/java/jre1. 8.0_73 directory.

How do I find my JDK path?

On Windows 10 you can find out the path by going to Control Panel > Programs > Java. In the panel that shows up, you can find the path as demonstrated in the screenshot below.

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.