On your computer, find the Java installation directory, and list all of the commands (tools and utilities)—the executables—present there.
You are in the right spot if you see java and javac among other executables.
On your computer, find the Java installation directory, and list all of the commands (tools and utilities)—the executables—present there.
Here is the list of all of the executables installed with Java 10.0.1:
One of the ways to find this directory is to look at the value of the environment variable PATH. For example, on a Mac computer, Java is installed in the directory /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin.
The Oracle documentation that describes the JVM installation location can be found at https://www.java.com/en/download/help/version_manual.xml.