AW: [vtkusers] Strange problem--VTK in JBuilder

Jarek Sacha galicjan at yahoo.com
Wed Apr 16 09:29:42 EDT 2003


--- Chunyan Jiang <jiang at Telematik-Institut.de> wrote:
> I have set the PATH as C://Programme/vtk42/bin. But it does not work.
> And
> there is another problem in the Cone.java. There are some static
> definition:
>   static {
>      System.loadLibrary("vtkCommonJava");
>      System.loadLibrary("vtkFilteringJava");
>      System.loadLibrary("vtkIOJava");
>      System.loadLibrary("vtkImagingJava");
>      System.loadLibrary("vtkGraphicsJava");
>  //    System.loadLibrary("vtkRenderingJava");
>    }
> Every library works well except "vtkRenderingJava". So I comment this
> line.
> If I add it then the following error message will present when the
> application runs:
> The Dynamic Link Library jawt.dll can not be find at the given path:
> C:\JBuilder8\jdk1.4\bin; C:\WINNT\System32;C:\WINNT\system;......
> 
> In any case the java.lang.UnsatisfiedLinkError will appear. How can I
> get
> vtk in JBuilder?

You need to add location of jawt.dll to your PATH too. I am guessing that
you should have it in C:\JBuilder8\jdk1.4\jre\bin.

Jarek

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



More information about the vtkusers mailing list