• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Read values from Registry

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic