Skip to content

Instantly share code, notes, and snippets.

@orzklv
Last active July 6, 2023 07:39
Show Gist options
  • Save orzklv/62df22fd1aafb9b19b68e380f11f7f50 to your computer and use it in GitHub Desktop.
Save orzklv/62df22fd1aafb9b19b68e380f11f7f50 to your computer and use it in GitHub Desktop.
Add OpenJDK 18 to registrars on Windows 11. This action is not being automatically done on default if you install Java with scoop.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment]
"CurrentVersion"="18.0.1"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment\18.0]
"JavaHome"="C:\\Users\\Sakhib\\Scoop\\apps\\openjdk\\current"
"MicroVersion"="0"
@orzklv
Copy link
Author

orzklv commented May 31, 2023

Don't forget to change location to your Scoop path!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment