Re: Java version not what I installed
- From: "Paul Thompson" <ubantu001@xxxxxxxxx>
- Date: Wed, 8 Mar 2006 15:01:21 +1300
Hi,
Thanks to all who replied. I did find out what to do just before the
first reply came in. No the less your replies are sincerely
appreciated.
Paul
On 3/8/06, Tim Jackson <tim.jackson@xxxxxxxx> wrote:
-----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@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@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@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-----
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Java version not what I installed
- From: Paul Thompson
- Re: Java version not what I installed
- From: Tim Jackson
- Java version not what I installed
- Prev by Date: Re: Java version not what I installed
- Next by Date: Ruby upgrade
- Previous by thread: Re: Java version not what I installed
- Next by thread: Ruby upgrade
- Index(es):
Relevant Pages
|