I read on the Internet that you can work with the registry using the deploy.jar library, but you could not find specific examples of writing and reading from the registry. More precisely, I found only this piece of code that does not know what it is doing. A huge request to help with this issue.

 String ab[] = WinRegistryWrapper.WinRegGetValues(WinRegistryWrapper.HKEY_LOCAL_MACHINE, "\\Software\\ODBC\\ ODBC.IN \\pay", 100); for (int i = 0; i < ab.length; i++) { System.out.println(ab[i]); } 

    1 answer 1

    WinRegGetValues gets the value from the registry at the specified path and throws all this information into the array of strings ab. After that cycle, we display all this information on the screen.

    • Thank you, but could you give examples of writing and reading from the registry? Thank you for help. - jkwe45 7:42 pm