LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-05-2008, 12:25 PM   #1
krishnaf31
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
Installation of java in linux


Hello can any one tell me how to install java in Linux operating system. And also please specify the path settings...................
Thanks for the answers for my questions. Also can I know how can I run servlets and jsp's using apache tomcat 5.5. How to connect to database in Linux.

Last edited by krishnaf31; 11-06-2008 at 06:08 AM.
 
Old 11-05-2008, 12:52 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
What distributions are you using? What package manager are you using?

---------------------
Steve Stites
 
Old 11-05-2008, 04:18 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,167

Rep: Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889
what i normally do is get the one from 'www.java.com' and get the self extracting file.

then i go to copy the download to /usr/lib and do
Code:
cd /usr/lib; sudo sh *.bin
 
Old 11-05-2008, 06:04 PM   #4
nukoso
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
you can download java from sun.com, follow the insgtructions on the sun page.

If you don't understand it, then depending on your distribution, you can install it from your package manager.

Like yum in Red hat, fedora, CentOS, or apt-get in debian or ubutnu
 
Old 11-06-2008, 12:28 AM   #5
Elemecca
Member
 
Registered: Nov 2008
Location: San Francisco, CA
Distribution: Gentoo, CentOS
Posts: 71

Rep: Reputation: 22
Quote:
Originally Posted by nukoso
If you don't understand it, then depending on your distribution, you can install it from your package manager.

Like yum in Red hat, fedora, CentOS, or apt-get in debian or ubutnu
I don't know about Ubuntu, but Java isn't in Debian APT. The folks over at Debian object to the license for Sun Java, so they refuse to put it in APT. You have to do a manual install with one of the files at the Sun Java SE Downloads Page.
 
Old 11-06-2008, 02:53 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Quote:
I don't know about Ubuntu, but Java isn't in Debian APT. The folks over at Debian object to the license for Sun Java, so they refuse to put it in APT. You have to do a manual install with one of the files at the Sun Java SE Downloads Page.
Hmm, I did install it from the repositories. I think your sources.list needs some revision.

I have my reservations about installing the package from Sun, it only adds more loops to jump through.

Last edited by jay73; 11-06-2008 at 02:54 AM.
 
Old 11-06-2008, 06:11 AM   #7
krishnaf31
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
What distributions are you using? What package manager are you using?

---------------------
Steve Stites
Thanks Steve for solving my query. But now I am a new user to linux. I didnt started using java. Will u please give me the step by step installation of java and also can I know how to run web applications of java in apache tomcat 5.5 server.

Thanq
 
  


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
java installation in linux kakarla Linux - Software 1 03-31-2008 01:38 PM
Problems while Java installation [RPM] in Linux akramkannan General 5 05-16-2006 05:22 AM
Java installation on Linux (redhat 7.2) baburaj Linux - General 2 08-08-2003 01:02 AM
java installation on linux vishalbisht Linux - Software 4 05-07-2003 11:19 PM

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

All times are GMT -5. The time now is 10:35 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