updating java from a terminal

James D. Parra Jamesp at MusicReports.com
Fri Aug 8 19:07:20 UTC 2008


-----Original Message-----
From: Brie Gordon [mailto:brie.gordon at gmail.com]
Sent: Friday, August 08, 2008 8:46 AM
To: Ubuntu user technical support, not for general discussions
Subject: Re: updating java from a terminal


On Fri, Aug 8, 2008 at 11:39 AM, James D. Parra <Jamesp at musicreports.com>
wrote:
>
> On Thu, Aug 7, 2008 at 2:35 PM, James D. Parra <Jamesp at musicreports.com>
> wrote:
>> Hello,
>>
>> I am connecting to a workstation via ssh and I'd like to update the Java
>> install from 1.4.2 to 1.5. Since there is no GUI, what utility can I use
> to
>> perform the update?
>>
>> Many thanks,
>>
>> James
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
> Breezy updates are no longer on us.archive.ubuntu.com.
> They are available at:
> http://old-releases.ubuntu.com/ubuntu/dists/breezy-updates/
> :-).
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Thank you Brie. From the CLI, how do integrate the URL into the updater?
Is
> there a place in apt-get where I can plug in that link?
>
> Thanks again,
>
> ~James
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
Modify your /etc/apt/sources.list file to reflect these URLs.

See this thread:
http://ubuntuforums.org/showthread.php?t=703776

Particularly post #8.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you for the excellent howto. It all worked well, however when I run
'apt-get install sun-java5-jdk' it errors out. It can't find java 1.5.


 apt-get install sun-java5-jdk
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java5-jdk
<snip>

Any suggestions?


Best regards,

~James




More information about the ubuntu-users mailing list