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

link conf directory on windows #17

Closed robertzych closed 5 years ago

robertzych commented 6 years ago

Please add the following to _windows_install.rb:

link "#{javalink_dir}\\conf" do to "#{java_home}\\conf" end

This link resolves an installation error I was having with another java app. I can reproduce that error and attach the details if you'd like.

vrivellino commented 5 years ago

@robertzych: Is this needed just for Java 10, or should it be added for Java 8 as well?

robertzych commented 5 years ago

The conf directory is relatively new, and probably not needed for Java 8. On my end, I'm only using Java 10.

robertzych commented 5 years ago

@vrivellino: When are you planning to release the next version of this cookbook?

vrivellino commented 5 years ago

@robertzych: Most likely it'll be when Oracle releases a new version of Java 10. This cookbook follows Java versions, and there's no way to republish just a specific version to the supermarket.

Until then, you can reference the repo and a specific commit sha. For example, in your Berksfile:

cookbook "java_se", git: "https://github.com/vrivellino/chef-java_se", ref: "17918d5234ddc5791e2724d06a92ecd4121f1c8e"

vrivellino commented 5 years ago

@robertzych: Oracle released Java 11, which appears to be their new LTS version, and it looks like Java 10 is now EOL'd. That said, this fix is in 11.0.1 of this cookbook.