Windows Linux Tips: Running Java programs

twitter tips,twitter tricks,twitter tips and tricks,twitter latest updates,facebook tips and tricks,facebook tricks,facebook tips,Windows 7 Tips,Windows 7 tips and tricks,Windows 7 tips with staps,Windows XP Tips,Windows XP tips and tricks,Windows XP tips with staps,Windows Linux Tips,Windows Linux Tips and tricks

Java is an interpreted language. Usualy Java is found on the Web, in small programs called applets. But many
Java applications exist. They are like applets, but require a Java Virtual Machine to run on your system.

Netscape Communicator and any Java-enabled browser can run Java applets, but what if you want to run Java
programs?Java programs are files ending with .class and must be run in a JVM. 

The Java Development Kit comes witha JVM. What you need is the Linux port of the JDK that you can find at Once installed, you can run any Java application using the line:
java Program Where java is the JVM, from the JDK package, and Program is the class found inside the Program.class file.

Note that you do not have to specify the .class part of the file to run it.

"Windows Linux Tips: Running Java programs"

Reference :