File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Read values from Registry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Read values from Registry" Watch "Read values from Registry" New topic

Read values from Registry

aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
I have to make an application in Java which will be deployed in Windows platform.
My app needs to read some value from registry . Hoe do I read windows registry value in Java.
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
You need to read up on JNI
Then you need to find yourself some c/c++ code that reads values from the windows registry (search google or similar and I'm sure you'll find something).
Also dev-c++ is a nice free c/c++ compiler/ide.
VIJAY Yadlapati
Ranch Hand

Joined: Aug 04, 2003
Posts: 175
Write Windows Specific code using C or C++ or VC++or as they can interact with WIndows Internals, and access that piece of code using JNI.
jQuery in Action, 3rd edition
subject: Read values from Registry
It's not a secret anymore!