PDA

View Full Version : [ubuntu] Installing latest version of Java



COMTIBoy
September 25th, 2009, 06:03 PM
I did a new install of Ubuntu 9.04 on my machine and I'm having trouble loading the latest version of Java.

suaro@suaro-desktop:/usr$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
suaro@suaro-desktop:/usr$

The java site (http://www.java.com/en/) shows Version 6 Update 16 is the latest.

I used Synaptic Package Manager and I'm certain I installed version 6 (some rev); however; when I go to the Java webpage , it show's that I'm running 1.6.0_16 and not passing the test :( .

I'm pretty certain I selected:

Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
The Sun Java Platform Standard Edition Runtime Environment (JRE) 6
contains the Java virtual machine, runtime class libraries, and
Java application launcher that are necessary to run programs written
in the Java progamming language. It is not a development environment and
doesn't contain development tools such as compilers or debuggers.
For development tools, see the Java Development Kit JDK(TM) 6
(package sun-java6-jdk).


How can I get my broswer to pass the Java test ? :)

I know the version I installed from Synaptic occured because my Chess client program (Jin 2.14.1) wouldn't run until I installed the Java mentioned above. Curious to know why my browser shows a lesser version number.. I'm running gnome (not kde).
Thanks all !

COMTIBoy
September 25th, 2009, 06:20 PM
I verified that I have the following packages installed:

sun-java6-bin
sun-java6-jre
sun-java6-jdk
sun-java6-plugin
java-common

Any ideas greatly appreciated.

falconindy
September 25th, 2009, 07:42 PM
I verified that I have the following packages installed:

sun-java6-bin
sun-java6-jre
sun-java6-jdk
sun-java6-plugin
java-common

Any ideas greatly appreciated.
Not going to need the jdk if you don't have plans to write Java code.

COMTIBoy
September 26th, 2009, 02:42 PM
Wonder if I posted this in the wrong forum section ?
Anybody have any ideas ?

Arup
September 26th, 2009, 02:50 PM
The one you are using is the latest. I installed Java from Synaptic and my java -version command gives me java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

This is exactly the version thats listed on Sun site.

COMTIBoy
September 26th, 2009, 03:15 PM
Thanks!