• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read values from Registry

 
aakash bhatt
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Regards,
aakash
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to read up on JNI
http://java.sun.com/docs/books/tutorial/native1.1/index.html
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.
http://www.bloodshed.net/
 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic