Open vrivellino opened 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'?
Yes, it is documented here: https://supermarket.chef.io/cookbooks/java_se#examples
I've used these steps for setting up v8.212:
sha256sum jdk-8u212-linux-x64.tar.gz
and use/set the hash valueMy 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" } }
},
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.