So whats good practice for installing Java/JDK and Tomcat for EL6 these days? The base repository included Tomcat6.6 is built with GCJ which I'd rather avoid. I'm fine with using OpenJDK ... Do most folks just use the Apache tarball for Tomcat and install it in a user directory or /opt/something ? -- john r pierce N 37, W 122 santa cruz ca mid-left coast
On Tue, Jan 17, 2012 at 4:40 PM, John R Pierce <pierce at hogranch.com> wrote:> So whats good practice for installing Java/JDK and Tomcat for EL6 these > days? ? The base repository included Tomcat6.6 is built with GCJ which > I'd rather avoid. I'm fine with using OpenJDK ... Do most folks just use > the Apache tarball for Tomcat and install it in a user directory or > /opt/something ? >I didn't do anything special and ps says /usr/lib/jvm/java/bin/java is running it. And /usr/lib/jvm/java/bin/java -version says java version "1.6.0_22" OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.42.1.10.4.el6_2-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) Maybe you do have to install java-1.6.0-openjdk if it hasn't been pulled in by something else - and it should set alternatives to use itself. -- Les Mikesell lesmikesell at gmail.com
>From: John R Pierce <pierce at hogranch.com>>To: CentOS mailing list <centos at centos.org> >Sent: Tuesday, January 17, 2012 2:40 PM >Subject: [CentOS] Java+Tomcat on CentOS 6.x>>So whats good practice for installing Java/JDK and Tomcat for EL6 these >days?? The base repository included Tomcat6.6 is built with GCJ which >I'd rather avoid. I'm fine with using OpenJDK ... Do most folks just use >the Apache tarball for Tomcat and install it in a user directory or >/opt/something ? > > >-- >john r pierce? ? ? ? ? ? ? ? ? ? ? ? ? ? N 37, W 122 >santa cruz ca? ? ? ? ? ? ? ? ? ? ? ? mid-left coast---------------- We still like our customers to use the Oracle / Sun JDK, and the Apache tarball. Our ops people recommend putting it all in /usr/local/ourcompany.? /opt is probably a better place. OpenJDK for Java 6 has issues, and I / we don't trust Java 7 of any flavor yet. Tomcat 7 is good. John Kienitz