I use Knoppix and Eclipse, and Java is installed in my system ab initio.
From the
above mentioned website, I found the following:
Saving the following codes in a text editor and name the file
HelloWorld.java
Then the page further proceeds towards compiling the file with the code:
and running the program as
I noticed only one difference: I could use the following codes instead:
, i.e., without the "% "