Back home and back working on my servers....
At 11:13 AM 1/6/2006, Jim Perrin wrote:
On 1/6/06, Robert Moskowitz rgm@htt-consult.com wrote:
At 10:45 AM 1/6/2006, Rodrigo Barbosa wrote:
Unfortunately, that won't do. That java implementation you see is the GNU one. For Scalix, you will need Sun's JDK. You can get it at www.java.com, if I recall.
thanks. Does that mean I unistall the GNU one? Or installing the SUN one will 'override' the GNU one.
No you don't need to uninstall the gnu one. Java on rhel uses (or should, in a perfect world) the alternatives framework, which allows for multiple programs to provide an application or utility. That said, the java packages from sun are a bit braindead. You can get the java sdk rpm or bin from sun and install it but it won't do much for you, and it doesn't put java in a place where the system can "Just use it". The best way is to get the sun java sdk package, and then get the sun java compat rpm from jpackage.org -> http://jpackage.org/rpm.php?id=3320
This rpm tells your system all about the sun install and sets things up for you in alternatives so that you can begin using your shiny new non-GNU java.
How can I be sure of the dependencies? What yum command would I run afterwards? How do I get updates to this rpm over time?
thanks!
How can I be sure of the dependencies? What yum command would I run afterwards? How do I get updates to this rpm over time?
thanks!
jpackage offers a yum repository. You'll need to set that up if you want to update from their packages. As for the java rpm. You're on your own for that one. Sun has yet to set up a java repository, and their license is such that we cannot.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
On 1/16/06, Jim Perrin jperrin@gmail.com wrote:
How can I be sure of the dependencies? What yum command would I run afterwards? How do I get updates to this rpm over time?
thanks!
jpackage offers a yum repository. You'll need to set that up if you want to update from their packages. As for the java rpm. You're on your own for that one. Sun has yet to set up a java repository, and their license is such that we cannot.
Revisiting this after many months... Is it still true that every user has to track when Sun and jpackage issue matching updates and get them separately the hard way...
Les Mikesell wrote:
On 1/16/06, Jim Perrin jperrin@gmail.com wrote:
How can I be sure of the dependencies? What yum command would I run afterwards? How do I get updates to this rpm over time?
thanks!
jpackage offers a yum repository. You'll need to set that up if you want to update from their packages. As for the java rpm. You're on your own for that one. Sun has yet to set up a java repository, and their license is such that we cannot.
Revisiting this after many months... Is it still true that every user has to track when Sun and jpackage issue matching updates and get them separately the hard way...
Are you talking about j2re or other java software?
I believe you can acquire Java j2re updates from one of the third-party CentOS repositories, such as DAG/rpmforge.
Manually download: http://dag.wieers.com/packages/j2re/
To add the DAG repo permanently (and thus get any updates provided by the repo provider):
http://dag.wieers.com/home-made/apt/FAQ.php#B
On my server machines I usually explicitly include only the packages I want from the 3rd party repo. This helps me keep straight which packages are fully supported by the distro and which ones I had to go looking for.
To tell yum that you only want to update j2re, just add one line to /etc/yum.repos.d/dag.repo
includepkgs=j2re
Dan Stoner Network Administrator Florida Museum of Natural History University of Florida