[vtkusers] Java+BorlandJB6+vtkPanel

Bob Palank srfpala at earthlink.com
Thu Jun 6 13:17:25 EDT 2002


Does a set of Java examples exist that match the tcl set?
TIA
 Bob

-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of Bob Palank
Sent: Friday, May 31, 2002 7:53 AM
To: vtkusers list
Subject: [vtkusers] Java+BorlandJB6+vtkPanel


I'm Running vtk40 on XP from within Borland's JB6.
IS ANYONE ELSE ?
With the two imports active in my code and all other vtk related statements
commented out, I get a clean compile, build and execution which shows the
panel with the exit button - which works as expected.
If I uncomment vtkPanel renWin = new vtkPanel();
I get a clean compile build and the following errors on an attempted
execution.


-------------------------------------------------------
java.lang.UnsatisfiedLinkError: no vtkCommonJava in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
        at java.lang.Runtime.loadLibrary0(Runtime.java:749)
        at java.lang.System.loadLibrary(System.java:820)
        at vtkPanel.<clinit>(vtkPanel.java:22)
        at test000.test000.<init>(test000.java:22)
        at test000.test000.main(test000.java:56)
Exception in thread "main"
-----------------------------------------------------
vtk.jar and vtkPanel.jar both live in vtk40\bin
Within JB6 one Path statement points to the bin directory.
The second path entry points to vtk40\lib\vtk which hold the libraries
loaded in vtkPanel.
I've got no clue as to where to go from here?
BTW, using vtkPanel.java, I created the vtkPanel.class and placed it in
vtkPanel.jar (using jar ;-))
which may have been an erroneous move.
Hopefully when I finally get this working, I hope to write up a clear and
concise procedure so that others can benefit.
TIA for any help.
Bob Palank
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list