• 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

Accessing Registry

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any way we can access the registry, as far as i know we cannot access the memory locations with java as it does not support pointers. Urgent reply expected.
Kindly reply to : d_vaskar.cgmaersk@maerskdata.dk
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Vaskar Dasgupta:
Is there any way we can access the registry, as far as i know we cannot access the memory locations with java as it does not support pointers. Urgent reply expected.
Kindly reply to : d_vaskar.cgmaersk@maerskdata.dk


If You mean the Windows registry You have to use JNI
Greetings
Karl
 
Vaskar Dasgupta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the prompt reply.
Yeah i meant Windows Registry, i have never used JNI, can you explain as to how should i use it. Let me present you my exact requirement so that it becomes clear to you.
I want to write the following to the Windows Registry ( Using Java ) :
Region ( Datatype = String )
Centre ID ( Datatype = int)
Center Name (Datatype = String )
Once written I need to READ it later so as to modify it. To modify the values i have a swing Window with the above three labels, three textfields and two buttons namely OK and Cancel
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI
I dont know your requirement, but as i know you can access windows registry with JNDI and offcource with JNI Also.
You can find the usefull information about the accessing widows registry with JNDI at the following site.
http://www.cogentlogic.com/jndi/

Originally posted by Vaskar Dasgupta:
Is there any way we can access the registry, as far as i know we cannot access the memory locations with java as it does not support pointers. Urgent reply expected.
Kindly reply to : d_vaskar.cgmaersk@maerskdata.dk


 
reply
    Bookmark Topic Watch Topic
  • New Topic