updating java from a terminal
Jim Rosser
jarosser06 at gmail.com
Fri Aug 8 21:59:23 UTC 2008
My guess then is that java 1.5 is not in the repos that far back, i would
suggest either ugrading your system to a later version of Ubuntu or maybe
downloading the java package from the Sun website and manually installing
it.
On Fri, Aug 8, 2008 at 4:04 PM, James D. Parra <Jamesp at musicreports.com>wrote:
> Type aptitude search sun-java and see if java5 comes up and install
> whatever java5 packages you see, i don't remember that far back but maybe
> they named the java packages something different from what they do now, you
> might also try aptitude search java just to see what java packages are
> available, someone used to using breezy might provide a better insight.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~
>
> I get the following, below, but not sure if 1.5 is here ;
>
> # aptitude search java
> i java-common - Base of all Java packages
> v java-compiler -
> v java-cup -
> i java-gcj-compat - Java runtime environment using GIJ
> p java-gcj-compat-dev - Java runtime environment with GCJ
> v java-runtime -
> v java-virtual-machine -
> v java1-runtime -
> v java2-compiler -
> v java2-runtime -
> p javacc - A parser generator for use with Java
> v javalex -
> v lib-xt-java -
> v libant1.5-java -
> p libant1.6-java - Java based build tool like make -
> Librari
> p libbcel-java - Analyze, create, and manipulate
> (binary)
> p libbcel-java-doc - Documentation for Byte Code
> Engineering L
> p libbsf-java - Bean Scripting Framework to support
> scrip
> p libcommons-logging-java - The commmon wrapper interface for
> several
> p libcommons-net-java - internet protocol suite Java library
> p libcrimson-java - XML parser which support the Java API
> for
> p libcrimson-java-doc - XML parser which support the Java API
> for
> v libdb-java -
> <snip>
>
> Tried running apt-get install java-common, but it says its already install,
> which makes sense for the old package.
>
> #apt-get install java-common
> Reading package lists... Done
> Building dependency tree... Done
> java-common is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> # java -version
> java version "1.4.2_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
> <snip>
>
> Any other suggestions to get Java updated?
>
> Thanks again for your help.
>
> ~James
>
>
>
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
--
Jim Rosser
Winchester Designs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080808/aeb41801/attachment.html>
More information about the ubuntu-users
mailing list