Accessing Windows Registry [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: read/write to Windows Registry using Java I need to access Windows registry from Java.. Also I need to copy some registry entries and may have to enter new registry variables using Java.. some one help me please... 回答1: I'd recommend the Java Native Access (JNA) library. It's a pretty nice wrapper around JNI. According to this mailing list post, they've already got a contributed wrapper around the native Windows