LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2011, 07:46 PM   #1
dwsmith
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Rep: Reputation: Disabled
Installing Java DK 6


I am trying to install JDK 6 but I am not succeeding.

The file is in /home/dustin/Downloads
So in the terminal I have been typing:
chmod +x filename.bin (enter)
sudo ./filename.bin (enter)

Java Agreement
y (enter)

Now, what do I type to install java6-bin java6-jre?

Every time I try something and check it with java -version, I get:

The program 'java' can be found in the following packages:
* gcj-4.4-jre-headless (You will have to enable component called 'main')
* openjdk-6-jre-headless (You will have to enable component called 'main')
* cacao (You will have to enable component called 'universe')
* gij-4.3 (You will have to enable component called 'universe')
* jamvm (You will have to enable component called 'universe')
* kaffe (You will have to enable component called 'universe')

Thanks for your help.
 
Old 08-06-2011, 07:52 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Which distro are you using? It is likely that your package manager can install the correct version for you.

Welcome to LQ.
 
Old 08-06-2011, 08:01 PM   #3
dwsmith
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by XavierP View Post
Which distro are you using? It is likely that your package manager can install the correct version for you.

Welcome to LQ.
It is update 22 Linux i586. I have tried sudo apt-get install sun-java6-bin sun-java6-jre and that didn't work. It is very frustrating. This is on Ubuntu 9.10 the Karmic Koala release.

Last edited by dwsmith; 08-06-2011 at 08:02 PM.
 
Old 08-06-2011, 10:38 PM   #4
xwjitftu
Member
 
Registered: Aug 2011
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 1
download openjdk from the software center. just type it in on the search bar.
 
Old 08-06-2011, 10:47 PM   #5
dwsmith
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by xwjitftu View Post
download openjdk from the software center. just type it in on the search bar.
There are 500 pages to go through. Do you have anything else to narrow down the search?
 
Old 08-06-2011, 11:31 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Ubuntu 9.10 is no longer supported.

You should update to a supported release.

https://wiki.ubuntu.com/Releases

https://help.ubuntu.com/community/EOLUpgrades
 
Old 08-09-2011, 01:42 PM   #7
xwjitftu
Member
 
Registered: Aug 2011
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 1
it's the one titled OpenJDK Java 6 Runtime. It's the first result in the ubuntu software center. And you should also update to ubuntu 11.04
 
  


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 is not installing??? kiruja Linux - Newbie 2 01-18-2011 11:26 AM
installing java asliyanage Linux - Software 3 07-06-2009 04:19 AM
[Java] Installing Java on Debian Linux lgp171188 Linux - Software 3 06-20-2009 12:40 PM
Installing Java Based Application throws "java.lang.NoClassDefFoundError" ConfigMan_08 Linux - Newbie 10 12-22-2008 05:58 PM
Installing java simcox1 Mandriva 30 03-23-2005 04:32 AM

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

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