Jelo Nehuptra is right, but make sure that you have installed jdk & you need to configure environment variables if you are using windows.
classpath & path you need to be set to run javac or java command on command prompt. Rest is explained by Jelo Nehuptra.
Aniket Kulkarni
Oracle Certified Professional, Java SE 6 Programmer.
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads: