vrivellino / chef-java_se

Chef cookbook to install and configure Oracle's Java SE JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html
MIT License
3 stars 5 forks source link

Oracle now requires sign-in for LTS versions #36

Open vrivellino opened 5 years ago

vrivellino commented 5 years ago

Downloading the latest JDK for both Java 8 and 11 (both LTS, though the former is about to be deprecated) require logging in to Oracle to download the JDK archives.

This is extremely problematic for maintaining this cookbook.

pvandervelde commented 5 years ago

Oh damn. Silly Oracle. Is it possible to have the cookbook user point to a local http endpoint and then ask the user to cache the JDK 'locally'?

jpmat296 commented 5 years ago

Yes, it is documented here: https://supermarket.chef.io/cookbooks/java_se#examples

torson commented 5 years ago

I've used these steps for setting up v8.212:

My role configuration for v8.212:

    "java_se": {
      "uri": "https://s3-eu-west-1.amazonaws.com/YOUR_BUCKET",
      "release": "8",
      "update": "212",
      "sha256": { "tar": { "x64": "3160c50aa8d8e081c8c7fe0f859ea452922eca5d2ae8f8ef22011ae87e6fedfb" } }
    },