LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to compile and run a java program in linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-compile-and-run-a-java-program-in-linux-948639/)

Aparna Raveendran 06-05-2012 10:43 AM

How to compile and run a java program in linux?
 
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.

Didier Spaier 06-05-2012 11:08 AM

Did you ask Google?

Did you search on LQ?

TobiSGD 06-05-2012 11:18 AM

Quote:

Originally Posted by Aparna Raveendran (Post 4696034)
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

Aparna Raveendran 06-05-2012 12:16 PM

I did...
 
Quote:

Originally Posted by Didier Spaier (Post 4696053)
Did you ask Google?

Did you search on LQ?

I did...and find the way to here!:)

Aparna Raveendran 06-05-2012 12:18 PM

Thank you!
 
Quote:

Originally Posted by TobiSGD (Post 4696059)
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

Thank you! I am really a newbie to linux too...

Didier Spaier 06-05-2012 12:23 PM

Sorry to have been a bit rude... Hopefully TobiSGD answered more appropriately ;)


All times are GMT -5. The time now is 11:42 AM.