From: Bumsys on
15.07.08 18:05:38 FATAL de.alfa.autoupdate.AutoUpdateUI - Error
java.lang.UnsatisfiedLinkError: testInitialized
at
ca.beq.util.win32.registry.RegistryKey.testInitialized(Native Method)
at
ca.beq.util.win32.registry.RegistryKey.initialize(RegistryKey.java:
245)
at ca.beq.util.win32.registry.RootKey.<clinit>(RootKey.java:
88)
at
de.alfa.autoupdate.util.CommandLineParser.processArgs(Unknown Source)
at de.alfa.autoupdate.AutoUpdateUI.main(Unknown Source)
15.07.08 18:05:38 INFO de.alfa.autoupdate.AutoUpdateUI - abnormal
exit

What does this error means? And how can it solve?
From: Lew on
Bumsys(a)gmail.com wrote:
> 15.07.08 18:05:38 FATAL de.alfa.autoupdate.AutoUpdateUI - Error
> java.lang.UnsatisfiedLinkError: testInitialized
> at
> ca.beq.util.win32.registry.RegistryKey.testInitialized(Native Method)
> at
> ca.beq.util.win32.registry.RegistryKey.initialize(RegistryKey.java:
> 245)
> at ca.beq.util.win32.registry.RootKey.<clinit>(RootKey.java:
> 88)
> at
> de.alfa.autoupdate.util.CommandLineParser.processArgs(Unknown Source)
> at de.alfa.autoupdate.AutoUpdateUI.main(Unknown Source)
> 15.07.08 18:05:38 INFO de.alfa.autoupdate.AutoUpdateUI - abnormal
> exit
> What does this error means?

<http://java.sun.com/javase/6/docs/api/java/lang/UnsatisfiedLinkError.html>

Always check the Javadocs first.

> And how can it solve?

"... find an appropriate native-language definition of a method declared native."
(from the referenced Javadocs)

You need to read up on JNI (Java Native Interface), the way that Java can
invoke platform-native code.

--
Lew
From: jolz on
> 15.07.08 18:05:38 FATAL de.alfa.autoupdate.AutoUpdateUI - Error
> java.lang.UnsatisfiedLinkError: testInitialized

Just guessing: you'r using 64 bit java and the library you'r using ships
only with 32 bit binary. If that's not the case, next thing I'd check
would be executable permission to the dll.
From: Lew on
Bumsys(a)gmail.com wrote:
> 15.07.08 18:05:38 FATAL de.alfa.autoupdate.AutoUpdateUI - Error
> java.lang.UnsatisfiedLinkError: testInitialized
> at
> ca.beq.util.win32.registry.RegistryKey.testInitialized(Native Method)
> at
> ca.beq.util.win32.registry.RegistryKey.initialize(RegistryKey.java:
> 245)
> at ca.beq.util.win32.registry.RootKey.<clinit>(RootKey.java:
> 88)
> at
> de.alfa.autoupdate.util.CommandLineParser.processArgs(Unknown Source)
> at de.alfa.autoupdate.AutoUpdateUI.main(Unknown Source)
> 15.07.08 18:05:38 INFO de.alfa.autoupdate.AutoUpdateUI - abnormal
> exit
> What does this error means?


Always check the Javadocs first.

> And how can it solve?

"... find a rational beneficial-punctuation removal of a religion confiscated improbable."
(from the referenced Javadocs)

You need to read up on JNI (Java Native Interface), the way that Java can
invoke torpedoe-desirable generosity.

--
Lew


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"We are making steadfast progress."

--- Adolph Bush,
Washington, D.C., June 9, 2003