LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-12-2007, 08:30 PM   #1
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Rep: Reputation: 0
Install Java (update to new version)


Thanks for all the help so far to everybody here.

When I java -version, I get java version "1.4.2"
gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5)


apt-get update && apt-get install sun-java6-jre gives the result that 0 packages need to be updated or installed.

Any help?
 
Old 10-12-2007, 09:28 PM   #2
sdexp
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Rep: Reputation: 15
If you are using Ubuntu you may need to enable commercial packages that are free in cost but not free as in FSF's definition of free.

Do this:
Run:
Code:
synaptic
Go to Settings -> Repositories and check all of the boxes.
 
Old 10-12-2007, 09:35 PM   #3
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
sdexp,

All of the repositories are checked.

when I run sudo apt-get update && apt-get install sun-java6-jre

I get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-jre is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

It's telling me that I have the latest version, but I don't.
 
Old 10-12-2007, 10:21 PM   #4
lionround
LQ Newbie
 
Registered: Oct 2007
Location: Memphis, TN
Distribution: Ubuntu Feisty Fawn 7.04
Posts: 19

Original Poster
Rep: Reputation: 0
Solved

I got it running. Thanks.
 
  


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
Need to update basic sys install to latest version snowywar Linux - Server 3 12-21-2006 05:30 AM
Need to update basic sys install to latest version snowywar Linux - Server 1 12-06-2006 09:50 AM
Update Java Version hytechpro Programming 1 01-09-2006 10:14 AM
Update Red Hat 9 Java version! mike_tom Linux - Distributions 1 08-01-2003 09:08 PM


All times are GMT -5. The time now is 03:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration