你好我和JRegistryKey一起开始UnsatisfiedLinkError
。我在Windows 7 32bit上使用Netbeans 8.0.2。jRegistryKey.dll位于我的Projects根文件夹和Path变量中。
我在这里得到了例外:
RegistryKey.initialize("jRegistryKey.dll");
RegistryKey key = new RegistryKey(RootKey.HKLM,"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\CheckpointDRG");
Iterator<RegistryKey> subkey = key.subkeys();
例外:
Exception in thread "main" java.lang.UnsatisfiedLinkError: ca.beq.util.win32.registry.RegistryKey.testInitialized()V
at ca.beq.util.win32.registry.RegistryKey.testInitialized(Native Method)
at ca.beq.util.win32.registry.RegistryKey.initialize(RegistryKey.java:294)
at gotdb.Importer.OpenConnection(Importer.java:95)
at gotdb.GotDB.main(GotDB.java:19)
Java Result: 1