Click to See Complete Forum and Search --> : How to read Windows Registry?


daileyps
September 26th, 2000, 10:40 AM
Any links or samples to point me to how to read windows registry settings from java?

gkshankar
September 26th, 2000, 03:00 PM
Hi
You write a Native method to store and retrieve values from the Windows registry. Call these methods inside your java class using JNI.

Bye

deft
September 28th, 2000, 04:18 AM
1) You cant access native methods if your
applet isnt digitally signed.

2) Why write a seperate native method when you
could just use java?

3) Correct me if I'm wrong but isnt JNI relatively new? ie, your going to eliminate older
browsers/versions from using your app.


If you can read the users hard drive (digital cert from thawte or verisign) you can access the users registery. I'm sure someone out there has
already written some java classes that handle the grunt work for you.

Anyone knowing of the existance of said classes, a pointing in the right direction would be much appreciatted.