LinuxQuestions.org
Register a domain and help support LQ
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, 10: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, 11:08 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,780

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Did you ask Google?

Did you search on LQ?

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

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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, 12:16 PM   #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, 12:18 PM   #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, 12:23 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,780

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:56 AM
How to run Linux commands using a Java program? aparna.v Linux - Newbie 2 04-09-2010 10:37 AM
how to run linux command from java program? ranger225 Linux - Newbie 1 11-10-2004 07:55 AM
GIF gone in program when compile Java in Linux dwarf007 Programming 1 10-01-2004 12:15 AM
Compile and run java in Linux Redhat medeluckiest Linux - Newbie 1 03-15-2004 10:03 AM


All times are GMT -5. The time now is 05:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration