2 Minutes To Code (β Version)

'java' command - 2 minute tutorial

Overview of 'java' command

The 'java' command is used to run compiled java class.

This command present in the bin folder inside jdk releases or jre releases in the $JDK_HOME/bin folder.

Let's see how to use it with a few examples.