LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2010, 06:52 AM   #1
kumar116
LQ Newbie
 
Registered: Apr 2010
Posts: 22

Rep: Reputation: 15
Cool how to install java in ubuntu 9.10


Sir I installed ubuntu 9.10.I wish to load java programming language in
that.I collected the following deb packages
1.sun-java6-bin_6-15-1_i386
2.sun-java6-jdk_6-15-1_i386
3.sun-java6-plugin_6-15-1_i386
4.sun-java6-fonts_6-15-1_all
5.sun-java6-doc_6-15-1_all
6.java-common_0.30ubuntu5_all
when I am trying to install sun-java6-bin_6-15-1_i386 it is asking for
a non available ia32-sun-java6-bin-deb of i386 architecture.SO please
tell me the detailed procedure to install java in ubuntu 9.10 off-line.
I am not having a working internet connection for ubuntu linux.And also
signify where the off line java installer available for java on ubuntu 9.10.thank you sir.
 
Old 05-23-2010, 09:25 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Don't manually get debs. Install Java via the package manager and this will all be taken care of for you. Make sure you've enabled Multiverse and Universe in Software Sources first.

Edit: Oops, missed the "no internet" part. In that case, grab the ia32-sun-java6-bin.deb and install it.
 
Old 05-23-2010, 09:53 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Offline: Use Ubuntu 9.10 packages only http://packages.ubuntu.com/karmic/
..... Updates http://packages.ubuntu.com/karmic-updates/

sun-java6-jdk (6.20dlj-0ubuntu1.9.10)
http://packages.ubuntu.com/karmic-up.../sun-java6-jdk

sun-java6-bin (6.20dlj-0ubuntu1.9.10)
http://packages.ubuntu.com/karmic-updates/sun-java6-bin

sun-java6-jre (= 6.20dlj-0ubuntu1.9.10)
http://packages.ubuntu.com/karmic-updates/sun-java6-jre

sun-java6-plugin (6.20dlj-0ubuntu1.9.10)
http://packages.ubuntu.com/karmic-up...n-java6-plugin

sun-java6-fonts (6.20dlj-0ubuntu1.9.10)
http://packages.ubuntu.com/karmic-up...un-java6-fonts

sun-java6-doc (6.20dlj-0ubuntu1.9.10)
http://packages.ubuntu.com/karmic-updates/sun-java6-doc

Offline installer : Click the package. Works for one at a time only.
More convinient : Chain install ......
sudo dpkg -i <package> <package> <package> <package> <package> <package>
..
 
Old 05-23-2010, 09:53 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
After the new java has been installed, please
check the version with : java -version
If the reply is not : ...'build 1.6.0_20' , then :

sudo update-alternatives --config java
.. .. and : select "sun".
..

Last edited by knudfl; 05-24-2010 at 02:35 AM.
 
  


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
I need help to install sun java 2 with ubuntu 9.04 TechHawk Linux - Software 6 06-26-2009 01:42 PM
Created USB bootable Ubuntu persistent install Cant install Java murph98 Linux - Newbie 3 05-26-2008 07:09 AM
Install Java on Ubuntu 6.06 cookie_monster Ubuntu 4 02-27-2008 08:43 AM
Install Java on UBUNTU vr76413 Ubuntu 4 06-04-2007 02:46 PM
Install Java on Ubuntu tfm1 Linux - Software 1 06-26-2006 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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