Windows Registry access

Discussions

General J2EE: Windows Registry access

  1. Windows Registry access (2 messages)

    We have a need to access the Windows Registry from Java code. Is there anything available within the Java Api to access the Windows Registry??

    What does java.util.prefs.Preferences do ?

    Thanks
    Sabyasachi
  2. Any thing which is defined in API is platform neutral.
    Probably you can look for something which is windows specific implementation otherwise search in java.sun.com JNI forum. You will get plenty of help from there
  3. java.util.prefs.Preferences
    This package will not help you for the problem you need to solve, it was introduced in jdk1.4 as a way of storing very small information eg user preferences for an application in the windows registry by passing sessions.