سؤال

How do I use regedit so as to store some deatails of my program ? I would like to use this to store some data like the program folder, some user cofigs and also some extensions that the computer should recognize as my program's extension.

هل كانت مفيدة؟

المحلول

Consider using the Preferences API. Preferences.systemRoot() should let you touch the registry node at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Prefs on a 64 bit computer with 32 bit java.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top