So your are using the lwrp from the java cookbook. With this approach, did
you end up installing the default OpenJDK6 as well? Even if its yes, it
won’t hurt anything to me with Openjdk 6, just curious to know. In your
cookbook with this recipegithub.com

So your are using the lwrp from the java cookbook. With this approach, did
you end up installing the default OpenJDK6 as well? Even if its yes, it
won’t hurt anything to me with Openjdk 6, just curious to know. In your
cookbook with this recipehttps://github.com/erichelgeson/jenkins-chef-dsl/blob/master/recipes/build-jdks.rb
, which JDK version is the default (which version of jdk is linked to from
’/usr/lib/jvm/java’) ?
Is it the OpenJDK 6 that was installed by default from your java cookbook?

I tested like so, i still have the attributes\default.rb have the below
(to install the jdk7)

Let the default $JAVA_HOME point to JDK7
– this is achieve my the conventional use of the cookbook java &
specifying the attributes asdefault[‘java’][‘install_flavor’] = 'oracle’default[‘java’][‘jdk_version’] = '7’default[‘java’][‘oracle’][‘accept_oracle_download_terms’] = true

*Then, allow the JDK8 to be available on the nodes by using the 'java_ark’
resource in my *recipe <my_jenkins::jenkins_slave>

.....

include_recipe ‘java’

#adding the below to test the JDK8 installationjava_ark “oracle-jdk8-x86_64” do

So your are using the lwrp from the java cookbook. With this approach,
did you end up installing the default OpenJDK6 as well? Even if its yes, it
won’t hurt anything to me with Openjdk 6, just curious to know. In your
cookbook with this recipehttps://github.com/erichelgeson/jenkins-chef-dsl/blob/master/recipes/build-jdks.rb
, which JDK version is the default (which version of jdk is linked to from
’/usr/lib/jvm/java’) ?
Is it the OpenJDK 6 that was installed by default from your java cookbook?

I tested like so, i still have the attributes\default.rb have the below
(to install the jdk7)