Bill Lorensen wlorens1 at nycap.rr.com
Tue Dec 28 09:25:54 EST 1999

Have you built vtk with java before? If so, delete the .java and .class files and re build. The java build can have problems if classes go away (as they do sometimes).


At 04:32 AM 12/27/99 -0200, Gustavo Ribeiro Alves wrote:
>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:
>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