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
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
Joined: Jul 20, 2001
Posts: 25
posted
0
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
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