[CentOS] Java+Tomcat on CentOS 6.x

2012-01-17 Thread John R Pierce
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 pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Java+Tomcat on CentOS 6.x

2012-01-17 Thread Les Mikesell
On Tue, Jan 17, 2012 at 4:40 PM, John R Pierce  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
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Java+Tomcat on CentOS 6.x

2012-01-17 Thread John Kienitz
>From: John R Pierce 

>To: CentOS mailing list  
>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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Java+Tomcat on CentOS 6.x

2012-01-18 Thread Les Mikesell
On Tue, Jan 17, 2012 at 9:18 PM, John Kienitz  wrote:
>
> OpenJDK for Java 6 has issues, and I / we don't trust Java 7 of any flavor 
> yet.

What kind of problems should I expect from the stock openjdk?

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Java+Tomcat on CentOS 6.x

2012-01-18 Thread John Kienitz
>From: Les Mikesell 

>To: CentOS mailing list  
>Sent: Wednesday, January 18, 2012 7:53 AM
>Subject: Re: [CentOS] Java+Tomcat on CentOS 6.x
 >
>On Tue, Jan 17, 2012 at 9:18 PM, John Kienitz  wrote:
>>
>> OpenJDK for Java 6 has issues, and I / we don't trust Java 7 of any flavor 
>> yet.
>
>What kind of problems should I expect from the stock openjdk?
>
>-- 
>  Les Mikesell
>    lesmikes...@gmail.com

I will have to dig thru our records, and see what we discovered.

I remember that Eclipse was flaky..

John Kienitz
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos