Java problems

Phillip Sc. Boegh psb at ipl.dtu.dk
Sun Oct 23 14:24:54 UTC 2005


> What oh what is the flippin name of the Java to install please?
>
> user at br33z:~$ sudo apt-cache search sun-j2
> sun-j2re1.4 - Java(TM) 2 RE, Standard Edition, Sun Microsystems(TM)
> sun-j2re1.5 - Java(TM) 2 RE, Standard Edition, Sun Microsystems(TM)
> user at br33z:~$ sudo apt-cache show sun-j2rel.5
> W: Unable to locate package sun-j2rel.5
> E: No packages found
>
> Why ? What am I doing wrong? Also how can I uninstall the
>
> java version "1.4.2"
> gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu
> 4.0.1-4ubuntu9)
You are really outdated! sorry to say - you know with Linux you avoid
antivirus programs and the slow down of that reason. But in expence the
security rely un that the users update there Linux frequently.

In Breezy and even in Hoary you just go into Synaptic and search for 1.4.2
and then remove this version. For installing a new just follow:

     $ sudo apt-get install fakeroot  java-package java-common

and downloade java from:
https://jsecom15d.sun.com/ECom/EComActionServlet;jsessionid=64DE203EFACD0EABDB3249AAF2252D00
And follow (p.t.version 1.5.0 update 5 with dpkg -i
sun-j2re1.5_1.5.0+update05_i386.deb ):
http://help.ubuntu.com/starterguide/C/ch03s02.html

Test if it is OK: http://www.java.com/en/download/help/testvm.xml

Best regards

Phillip




More information about the ubuntu-users mailing list