[[chef-dev]] Re: [[chef-dev]] Re: JAVA_HOME, sun vs. openjdk inconsistencies


Chronological Thread 
  • From: Joshua Timberman < >
  • To: Chad Woolley < >
  • Cc: Adam Jacob < >, Chef Dev < >
  • Subject: [[chef-dev]] Re: [[chef-dev]] Re: JAVA_HOME, sun vs. openjdk inconsistencies
  • Date: Tue, 1 Jun 2010 19:00:53 -0400

Hi Chad!

I made the change to openjdk because the Sun java package is considered deprecated (though still available) in both Debian and Ubuntu. To support installing Sun's package where it is available, we should utilize either a separate recipe in the kava cookbook, or control the preferred package via an attribute. The default should be openjdk, as it's the default on all of Devian, Ubuntu and RHEL/Centos.

Please open a ticket in the cookbook project. If you have a patch, please link to the github branch.

Thank you!

On Jun 1, 2010, at 3:35 PM, Chad Woolley < > wrote:

Is there any reason there can't be both?  I already copied the sun
version from the history to a "java_sun" cookbook .  Would you like me
to contribute it in a patch?

On Tuesday, June 1, 2010, Adam Jacob 
< >
 wrote:
I certainly have a personal preference for the Sun JDK, myself.

Adam

On Tue, Jun 1, 2010 at 2:22 AM, Chad Woolley < > wrote:
On Tue, Jun 1, 2010 at 12:24 AM, Chad Woolley < > wrote:
Hi,

The "java" cookbook now installs OpenJDK instead of Sun's JDK.

Also, Tomcat doesn't even work with OpenJDK6:

java.lang.ClassNotFoundException: sun/management/snmp/ AdaptorBootstrap

Looks like they are adding this in OpenJDK7, but for now Tomcat is
broken with the default 'java' recipe.

What drove the switch to OpenJDK over Sun now? Why not wait until it
is actually removed? Or even better, have cookbooks for both versions
in the repo?

Thanks,
-- Chad




--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: 





Archive powered by MHonArc 2.6.16.

§