# rpm -qa | grep -E '^(java|jdk|jre)-' jre-1.6.0_03-fcs java-1.4.2-gcj-compat-1.4.2.0-27jpp jdk-1.6.0_03-fcs
java is a CentOS package. jdk and jre are from Sun. (I need Java >= 1.5.0 for an application I'm installing.)
# update-alternatives --config java
There are 1 programs which provide 'java'.
Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
But how do I tell my system to use the 1.6.0 version? Is there a step that I'm missing to finish the upgrading?
Thanks, Scott
On Thu, Oct 18, 2007 at 01:32:14PM -0500, Scott Moseman wrote:
java is a CentOS package. jdk and jre are from Sun.
Don't get it directly from Sun. Use the jpackage versions. (The hoops you have to jump through are worth it.)
On 10/18/07, Matthew Miller mattdm@mattdm.org wrote:
java is a CentOS package. jdk and jre are from Sun.
Don't get it directly from Sun. Use the jpackage versions. (The hoops you have to jump through are worth it.)
I'm going to need a wee bit more direction. I don't see any newer java-* packages in any of the repositories. Can you point me in a little bit more of the direction I should take?
Thanks, Scott
----- "Scott Moseman" scmoseman@gmail.com escreveu:
On 10/18/07, Matthew Miller mattdm@mattdm.org wrote:
java is a CentOS package. jdk and jre are from Sun.
Don't get it directly from Sun. Use the jpackage versions. (The hoops you have to jump through are worth it.)
I'm going to need a wee bit more direction. I don't see any newer java-* packages in any of the repositories. Can you point me in a little bit more of the direction I should take?
Ok,
Maybe you need to take a look on here: http://www.jpackage.org/installation.php
Antonio.
On 10/18/07, Antonio da Silva Martins Junior asmartins@uem.br wrote:
java is a CentOS package. jdk and jre are from Sun.
Don't get it directly from Sun. Use the jpackage versions. (The hoops you have to jump through are worth it.)
I'm going to need a wee bit more direction. I don't see any newer java-* packages in any of the repositories. Can you point me in a little bit more of the direction I should take?
Maybe you need to take a look on here: http://www.jpackage.org/installation.php
Thanks Matthew and Antonio, I'm up and running now!
Scott
----- "Scott Moseman" scmoseman@gmail.com escreveu:
# rpm -qa | grep -E '^(java|jdk|jre)-' jre-1.6.0_03-fcs java-1.4.2-gcj-compat-1.4.2.0-27jpp jdk-1.6.0_03-fcs
java is a CentOS package. jdk and jre are from Sun. (I need Java >= 1.5.0 for an application I'm installing.)
# update-alternatives --config java
There are 1 programs which provide 'java'.
Selection Command
*+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
But how do I tell my system to use the 1.6.0 version? Is there a step that I'm missing to finish the upgrading?
Hi Scott,
Take a look on http://www.jpackage.org
On that repo are RPMs to change the alternatives, and docs on howto install it.
Antonio.