Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: =?iso-8859-1?Q?read_the_windows=B4s_registry?=


Message #1 by Diego Montaldo <diegom@r...> on Fri, 1 Mar 2002 16:44:42 -0300
According to the JavaDoc 
(http://java.sun.com/j2se/1.4/docs/api/index.html):

"public class UnsatisfiedLinkError
extends LinkageError

Thrown if the Java Virtual Machine cannot find an appropriate native-
language definition of a method declared native."

Since you are trying to use a Windows class, this means that the .dll that 
contains the RegOpenKeyEx native method is not installed on your machine, 
or is not on the path.

> Exception in thread "main" java.lang.UnsatisfiedLinkError: RegOpenKeyEx
> at com.ms.wfc.app.RegistryKey.RegOpenKeyEx(Native Method)

  Return to Index