Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install Oracle JVM #3

Open
mheffner opened this issue Apr 17, 2012 · 2 comments
Open

Fails to install Oracle JVM #3

mheffner opened this issue Apr 17, 2012 · 2 comments

Comments

@mheffner
Copy link

Using:

  :java => {
    :install_flavor => 'oracle'
  },

I get:

[Tue, 17 Apr 2012 15:51:48 +0000] INFO: Adding jdk to /usr/lib/jvm/jdk1.6.0_30
[Tue, 17 Apr 2012 15:51:48 +0000] INFO: remote_file[/tmp/chef-solo/cache/jdk-6u30-linux-x64.bin] updated
[Tue, 17 Apr 2012 15:51:48 +0000] INFO: remote_file[/tmp/chef-solo/cache/jdk-6u30-linux-x64.bin] mode changed to 755
[Tue, 17 Apr 2012 15:51:48 +0000] FATAL: Failed to extract file jdk-6u30-linux-x64.bin!
[Tue, 17 Apr 2012 15:51:48 +0000] ERROR: Running exception handlers
[Tue, 17 Apr 2012 15:51:48 +0000] ERROR: Exception handlers complete

Seeing what the file is I get:

$ file /tmp/chef-solo/cache/jdk-6u30-linux-x64.bin

/tmp/chef-solo/cache/jdk-6u30-linux-x64.bin: HTML document text
@simonrussell
Copy link

I'm surprised this is still open; it's because Oracle requires you to accept a license agreement, and to have a cookie set to do the download. The cookbook has been updated to reflect this.

I'm still trying to figure out the best way around it; just keeping the file locally is obviously the most straightforward idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@mheffner @simonrussell and others