You will need to install the JRE on the machine on which you want to run it. This can be done using the following command:
yum install java-1.6.0-openjdk*
Once you have Java, it is just a matter of executing your application. I would recommend using eclipse to compile your project into a jar and use the following command to execute it:
java -jar *JarFileName*.jar
user2403009
source share