[RESOLVED]Re: JRE

Michael R. Head burner at suppressingfire.org
Fri Feb 16 16:34:05 UTC 2007


On Fri, 2007-02-16 at 03:52 -0500, John Dangler wrote:
> Thanks Conrad, Janne, and Tony!
> I was missing the update-alternatives...

update-java-alternatives is a bit better, since it updates javac,
javadoc, the mozilla plugin, ...

Also, JDK1.6 is in edgy-backports, which can be enabled via the Software
Sources administrative control panel.

> Now I have:
> gymsmoke at croatus:~$ which java
> /usr/bin/java
> gymsmoke at croatus:~$ ls -l /usr/bin/java
> lrwxrwxrwx 1 root root 22 2007-02-10 03:15 /usr/bin/java
> -> /etc/alternatives/java
> gymsmoke at croatus:~$ java -version
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
> 
> 
> 
> On Fri, 2007-02-16 at 02:36 -0600, Conrad Knauer wrote:
> > On 2/16/07, John Dangler <jdangler at atlantic.net> wrote:
> > 
> > > Sorry, I did mean 1.5 .  But I don't see 1.5 in any of the responses you
> > > listed...
> > >
> > > So, why, if I have the java 5 jre and the java 5 plugin installed, does
> > > the java --version report 1.4.2 ?
> > 
> > I can't fully test my hypothesis since I'm running Feisty, but in
> > Feisty using Java 6 the CLI command "java" isn't in a standard place
> > for the system to see it... so maybe you have *both* 1.5 and 1.4
> > installed, but Java 5 doesn't have a "java" binary in the right place?
> > 
> > On my system, if I go to /usr/lib/jvm/java-6-sun/jre/bin and from
> > Terminal run "./java -version", the output is:
> > 
> > java version "1.6.0"
> > Java(TM) SE Runtime Environment (build 1.6.0-b105)
> > Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
> > 
> > Do you maybe have a similar directory with a "java" executable?
> > 
> > CK
> > 
> 
> 
-- 
Michael R. Head <burner at suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070216/aca1310d/attachment.bin>


More information about the ubuntu-users mailing list