vrivellino/chef-java_se

link conf directory on windows

Closed this issue · 5 comments

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.

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

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

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

@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"

@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.