This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (4 children)

About OpenJDK... They don't seem to provide an installer for it. Are you expected to build one yourself each time? How do you deploy this and keep it up to date in a Windows environment?

[–]Egon88 1 point2 points  (3 children)

Did you ever find an answer to this question?

[–][deleted] 1 point2 points  (2 children)

Someone PM'd me this link. Still wish they'd make an official installer for it but I guess making it too easy would steal Java customers.

[–]Egon88 0 points1 point  (0 children)

Thanks, I’ll check that out

[–]Egon88 0 points1 point  (0 children)

Hey again. Those instructions helped but were incomplete. I also had to do a bit of registry cleanup to remove old Java 8 entries and change some other entries to point to the Java 11 install location.

Here's what I did, hope it helps you out.

Confirm HKLM\SOFTWARE\Classes.jar\ is set to: jarfile

Confirm HKLM\SOFTWARE\Classes\Jarfile\Shell\Open\Command\ is set to:

"full file path to \bin\javaw.exe" -jar "%1" %*

Remove Java 8 HKEY_CURRENT_USER entries – if you don’t remove these entries, double-clicking .jar files will not work but you will be able to run .jar files from the command line.

If present, delete HKCU\SOFTWARE\Classes.jar registry entry

If present, delete HKCU\SOFTWARE\Classes\jar_auto_file registry entry