Originally Posted by Aparna Raveendran
How to compile and run a java program in linux?
What are the software requirements needed to run a java program in linux?which are the commands? I need the basic details.
It is the same as it is on every other platform. You need a JDK (one of it, there are several) to compile and a JRE (one of it, there are several) to run it.
Also, you should have a look here: http://lmgtfy.com/?q=java+on+linux