Forrest logo
back to the javap tool

javap:tldr:30f0c

javap: Display version.
$ javap -version
try on your machine

The javap command is a command-line tool in Java that is used to display information about the methods, fields, and inner classes of compiled Java classes. It can be used to analyze the bytecode of compiled Java classes.

The -version option is used with the javap command to display the version of the Java Development Kit (JDK) that is installed on your system. It shows the version number, as well as any additional information about the JDK installation. Running this command helps you verify the Java version you are currently using for development or execution.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the javap tool