LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2012, 09:43 AM   #1
Aparna Raveendran
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 06-05-2012, 10:08 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Did you ask Google?

Did you search on LQ?

Last edited by Didier Spaier; 06-05-2012 at 10:10 AM.
 
Old 06-05-2012, 10:18 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Aparna Raveendran View Post
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
 
Old 06-05-2012, 11:16 AM   #4
Aparna Raveendran
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Wink I did...

Quote:
Originally Posted by Didier Spaier View Post
Did you ask Google?

Did you search on LQ?
I did...and find the way to here!
 
Old 06-05-2012, 11:18 AM   #5
Aparna Raveendran
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Wink Thank you!

Quote:
Originally Posted by TobiSGD View Post
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...
 
Old 06-05-2012, 11:23 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Sorry to have been a bit rude... Hopefully TobiSGD answered more appropriately
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile and run a java program in linux !!!! jmax24 Programming 7 08-06-2010 03:56 AM
How to run Linux commands using a Java program? aparna.v Linux - Newbie 2 04-09-2010 09:37 AM
how to run linux command from java program? ranger225 Linux - Newbie 1 11-10-2004 06:55 AM
GIF gone in program when compile Java in Linux dwarf007 Programming 1 09-30-2004 11:15 PM
Compile and run java in Linux Redhat medeluckiest Linux - Newbie 1 03-15-2004 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration