I popped into the terminal and ran a hello world script using the following command java Hello
, and it ran like normal java programs. I proceeded to run java Hello.java
, and then Java took a while (1.0 seconds).
Why does using the second command, java Hello.java
, take longer to execute than using java Hello.