Java version not what I installed

Paul Thompson ubantu001 at gmail.com
Wed Mar 8 01:06:11 UTC 2006


Hi,

I have just installed the jdk-1_5_0_06-linux-i586.bin using fakroot
etc to make the deb. That went fine. Then I did:

pjt at pjtlaptop:~$ sudo dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb
Password:
Selecting previously deselected package sun-j2sdk1.5.
(Reading database ... 105944 files and directories currently installed.)
Unpacking sun-j2sdk1.5 (from sun-j2sdk1.5_1.5.0+update06_i386.deb) ...
Setting up sun-j2sdk1.5 (1.5.0+update06) ...

That also worked just fine when I do:

pjt at pjtlaptop:~$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
pjt at pjtlaptop:~$

It shows (as you can see) that it is jre 1.5.0_05. I expect to see sdk
1.5.0_06 or something along those lines. As the SDK appears to have
been installed it would appear that I need to tell Ubuntu where to
look. I am still very much a Linux newby so help would be most
welcome.

Paul




More information about the ubuntu-users mailing list