Problema APPLET acessando DLL

0 respostas
G

Estou com um problema já faz um tempo e não consigo a solução.

Tenho um APPLET, quando executo essa linha de comando:

Native.loadLibrary(“ctfclient”, ILibCTFClient.class);

  • Estou usando JNA, e já estou assinando o applet , juntamente com o JNA.

Esta apresentando o erro abaixo:

java.lang.UnsatisfiedLinkError: com.sun.jna.NativeLibrary.open(Ljava/lang/String;)J
	at com.sun.jna.NativeLibrary.open(Native Method)
	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:162)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:240)
	at com.sun.jna.Library$Handler.<init>(Library.java:140)
	at com.sun.jna.Native.loadLibrary(Native.java:375)
	at com.sun.jna.Native.loadLibrary(Native.java:359)
	at Integrador$1.run(Integrador.java:45)
	at java.security.AccessController.doPrivileged(Native Method)
	at Integrador.carregaDLL(Integrador.java:31)
	at Integrador.init(Integrador.java:16)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
basic: Ouvinte de progresso removido: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@12152e6
Exception in thread "thread applet-Integrador.class-1" java.lang.UnsatisfiedLinkError: Unable to load library 'ctfclient': com.sun.jna.NativeLibrary.open(Ljava/lang/String;)J
	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:167)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:240)
	at com.sun.jna.Library$Handler.<init>(Library.java:140)
	at com.sun.jna.Native.loadLibrary(Native.java:375)
	at com.sun.jna.Native.loadLibrary(Native.java:359)
	at Integrador$1.run(Integrador.java:45)
	at java.security.AccessController.doPrivileged(Native Method)
	at Integrador.carregaDLL(Integrador.java:31)
	at Integrador.init(Integrador.java:16)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Alguem já teve esse problema e poderia me dar uma ajuda ?
não consigo achar a solução ainda.

Criado 11 de junho de 2012
Respostas 0
Participantes 1