Java version not what I installed
Tim Jackson
tim.jackson at ints.com
Wed Mar 8 01:51:51 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Thompson wrote:
> 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
>
try "update-alternatives --set java /$path_to_bin/java"
to set the links to the java runtime you want to use.
Tim J
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEDji3gLVM9zV5AaMRAnw0AJwL4CoQ9eqUOTywmZj8FwROfKCraQCfcioA
u9uIUg6ezBpOOfuwEr05NCE=
=EVdy
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list