Java upgrade dilema

Xandros Pilosa folivora.pilosa at gmail.com
Fri Jan 15 09:30:21 UTC 2010


Dne 14.01.2010 (čet) ob 20:58 -0500 je Rick Bragg zapisal(a):
> Hi,
> 
> I need to install a package called "cyclos" (cyclos.org) and according
> to the documentation requires the following:
> 
> Java Runtime Environment (JRE), Java 1.5 (aka 5.0) is required. If you
> use Java 6 (aka 1.6), ensure the version is 1.6.0_04 or later (versions
> 1.6.0_00 to 1.6.0_03 won't work).
> 
> The problem is that I am using Ubuntu 64bit LTS 8.04 (hardy) and I have
> openjdk-6-jre installed and according to "apt-get" it is up to date.
> However, when I test for the version, I get the following:
> 
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
> 
> So, I guess I need to either upgrade Java to some newer version, or
> downgrade to Java 5.
> 
> Anybody have any advice?
> 
> Thanks!
> Rick

Hello Rick

Here (Hardy 32bit):
java -version 
prints:
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
...

apt-cache show sun-java6-jre
prints:
Package: sun-java6-jre
Priority: optional
Section: multiverse/libs
Installed-Size: 14356
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Original-Maintainer: Debian QA Group <packages at qa.debian.org>
Architecture: all
Source: sun-java6
Version: 6-17-0ubuntu1.8.04
....

It should be the same for 64bit arch.:
http://packages.ubuntu.com/hardy-updates/sun-java6-jre
(arch.independent)
http://packages.ubuntu.com/hardy-updates/sun-java6-bin
(arch. dependent)

Do you have multiverse repository enabled?

Regards






More information about the ubuntu-users mailing list