Oracle and java cookbook

Does the java cookbook work with oracle?

from the below…not. Totaly leave me no were to go. Is the use java
the java cookbook depricated?

Converging 49 resources
Recipe: build-essential::default

  • package[build-essential] action install (up to date)

  • package[binutils-doc] action install (up to date)

  • package[autoconf] action install (up to date)

  • package[flex] action install (up to date)

  • package[bison] action install (up to date)
    Recipe: ntp::default

  • package[ntp] action install (up to date)
    Recipe: java::set_java_home

  • ruby_block[set-env-java-home] action run

    • execute the ruby block set-env-java-home
  • directory[/etc/profile.d] action create (up to date)

  • file[/etc/profile.d/jdk.sh] action create (up to date)
    Recipe: java::oracle

  • java_ark[jdk] action install[2014-02-14T14:37:06+08:00] FATAL: Failed
    to extract file jdk-7u25-linux-x64.tar.gz!

================================================================================
Error executing action install on resource ‘java_ark[jdk]’

SystemExit

exit

Cookbook Trace:

/home/ubuntu/workspace/augno-chef/chef-repo/cookbooks/java/providers/ark.rb:154:in
block (2 levels) in class_from_file' /home/ubuntu/workspace/augno-chef/chef-repo/cookbooks/java/providers/ark.rb:130:inblock in class_from_file’

I haven't had a chance to use that for a few month now, but I have a fork (with just one minor change to allow wrapper cookbooks) and a small wrapper to install oracle java on GitHub: st-h (Steve) · GitHub
Probably there might have been some updates which I haven't merged yet, but at least that should give a working example
-Steve

Sent from mobile.

On 14.02.2014, at 07:40, David Montgomery davidmontgomery@gmail.com wrote:

Does the java cookbook work with oracle?

from the below.....not. Totaly leave me no were to go. Is the use java the java cookbook depricated?

Converging 49 resources
Recipe: build-essential::default

  • package[build-essential] action install (up to date)

  • package[binutils-doc] action install (up to date)

  • package[autoconf] action install (up to date)

  • package[flex] action install (up to date)

  • package[bison] action install (up to date)
    Recipe: ntp::default

  • package[ntp] action install (up to date)
    Recipe: java::set_java_home

  • ruby_block[set-env-java-home] action run

    • execute the ruby block set-env-java-home
  • directory[/etc/profile.d] action create (up to date)

  • file[/etc/profile.d/jdk.sh] action create (up to date)
    Recipe: java::oracle

  • java_ark[jdk] action install[2014-02-14T14:37:06+08:00] FATAL: Failed to extract file jdk-7u25-linux-x64.tar.gz!

================================================================================
Error executing action install on resource 'java_ark[jdk]'

SystemExit

exit

Cookbook Trace:

/home/ubuntu/workspace/augno-chef/chef-repo/cookbooks/java/providers/ark.rb:154:in block (2 levels) in class_from_file' /home/ubuntu/workspace/augno-chef/chef-repo/cookbooks/java/providers/ark.rb:130:in block in class_from_file'