/JWinRegistry

Allows you to execute registry commands in Java, in just one line of code.

Primary LanguageJavaMIT LicenseMIT

image

A Java library which allows you to execute Windows registry commands in Java, in just one line of code.
It's just like how you use the REG command in Command Prompt.

Example Usage

Registry.execute("ADD HKEY_LOCAL_MACHINE\SOFTWARE\MyJavaApp");

Example class based on this library:

WARNING: If you execute a command that usually requires confirmation in command prompt, the current thread will just hang.
To fix this, just add /F at the end of the command

Library Download

https://github.com/Appu26J/JWinRegistry/releases/download/WindowsRegistry/jwinregistry.jar