JRE
John Dangler
jdangler at atlantic.net
Fri Feb 16 08:16:37 UTC 2007
On Fri, 2007-02-16 at 10:04 +0200, Janne Jokitalo wrote:
> John Dangler wrote:
>
> Hi John!
>
> > I installed edgy a few days back and got the latest sun jre from the
> > repo's, which I thought was 1.6 .
>
> Hmmm... I don't know where you got that idea:
>
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=6.10
> DISTRIB_CODENAME=edgy
> DISTRIB_DESCRIPTION="Ubuntu 6.10"
>
> $ apt-cache search java|grep sun
> jikes-sun - Wrapper for jikes using Sun Java classes
> sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0
> sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
> sun-java5-doc - Sun JDK(TM) Documention -- integration installer
> sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
> sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
> sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0
> sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
> sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
>
> Using just standard repositories, you get that.
>
> > When I run java --version, I get this:
> > java version "1.4.2"
> > gij (GNU libgcj) version 4.1.2 20060928 (prerelease) (Ubuntu
> > 4.1.1-14ubuntu7)
> >
> > Did I miss something?
>
> Something probably, cause:
>
> $ java --version
> java version "1.4.2"
> gij (GNU libgcj) version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-14ubuntu7)
>
> $ dpkg -S bin/java
> j2re1.4: /usr/lib/j2se/1.4/jre/bin/javaws
> java-gcj-compat: /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java
> j2re1.4: /usr/lib/j2se/1.4/jre/bin/java
> j2re1.4: /usr/lib/j2se/1.4/bin/java
> java-gcj-compat-dev: /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/javac
> java-gcj-compat-dev: /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/javah
> java-gcj-compat-dev: /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/javadoc
> java-gcj-compat: /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/bin/java
> j2re1.4: /usr/lib/j2se/1.4/bin/javaws
> j2re1.4: /usr/lib/j2se/1.4/jre/bin/java_vm
>
> So the way I see it there are two possibilities for java versions, 1.4 and
> 1.5. No 1.6, perhaps it'll be in feisty?
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 ?
>
>
> --
> Jaska
>
>
More information about the ubuntu-users
mailing list