VTK & JAVA

Gustavo Ribeiro Alves gralves at usp.br
Mon Dec 27 01:32:27 EST 1999


While trying to compile & run Test.java (an example form vtkjava.exe) I
get this exception :

public class Test {
  static { System.loadLibrary("vtkJava"); }
  public static void main (String []args) {
    vtkObject a = new vtkObject();
    a.DebugOn();
    System.out.println(a.GetMTime());
    a.Modified();
    System.out.println(a.GetMTime());
    }
}

C:\Arquivos de programas\vtkNightly\java>java Test
Exception in thread "main" java.lang.UnsatisfiedLinkError:
C:\WIN98\SYSTEM\vtkja
va.dll: Um dispositivo anexado ao sistema n?o est? funcionando
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1319)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1243)
        at java.lang.Runtime.loadLibrary0(Runtime.java:470)
        at java.lang.System.loadLibrary(System.java:778)
        at Test.<clinit>(Test.java:4)

Can someone explain me what's happening? I already checked the existence
of C:\WIN98\SYSTEM\vtkjava.dll and it's ok. Thanks!



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list