Re: Java version not what I installed



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



Relevant Pages

  • Re: Distributed Processing?
    ... things writen in C, C++, Fortan, Pascal, Java, etc. I'm just a lowly ... and not a programmer. ... Fortan, Pascal, Java, etc." is not the most useful of replies. ... hoped that with two fast pro-grade Macs, gigabit Ethernet, gobs of RAM, ...
    (comp.sys.mac.system)
  • Re: Java version not what I installed
    ... java version "1.5.0_05" ... Java2 Runtime Environment, Standard Edition ... As the SDK appears to have ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (Ubuntu)
  • Re: Application programming language of choice
    ... I have been away and got back to see all these replies. ... decdied to rephrase what I am asking. ... Is Java ... wrong development platform and have to re-do the entire job a couple ...
    (comp.programming)
  • Unable to log on to Exchange and Browsing problem
    ... All your replies are MUCH appreciated. ... Some users can log on to the Domain but not Exchange: ... my newest workstation wont work while browsing sites with ... responds with a "no Java" error. ...
    (microsoft.public.backoffice.smallbiz2000)
  • WARNING!
    ... Attemped to download the MS Version of JAVA from this link and was warned by my Virus scanner that it contained a Virus.Download it somewhere else. ... your replies may not be received. ...
    (microsoft.public.windowsxp.newusers)