[vtkusers] libraries link error
CEZARD Yann
Yann.CEZARD at ifp.fr
Thu Jun 12 10:56:44 EDT 2003
Add to your PATH environnement variable :
%JAVA_HOME%\jre\bin
where %JAVA_HOME% is your JDK installation path.
Should also work if you add it to the -Djava.library.path I think.
That's where jawt.dll can be found.
For the vtkPanel problem, I have no idea...
Did you compile your VTK distrib yourself or install it from binaries ?
Hope this help.
Yann
-----Message d'origine-----
De : Bernadette Louat [mailto:bernadette.louat2 at mail.dcu.ie]
Envoyé : jeudi 12 juin 2003 16:46
À : vtk users
Objet : [vtkusers] libraries link error
Hi all,
I can't really start using vtk because I get the following error with all
examples whan I run them.
I'm using the following command for Cone.class:
java -Djava.library.path="D:\Program files\vtk42\bin;D:\Program
Files\vtk42\lib\vtk;D:\Program Files\vtk42\lib" -cp .;"D:\Program
files\vtk42\bin\vtk.jar" Cone
java.lang.UnsatisfiedLinkError: D:\Program
Files\vtk42\bin\vtkRenderingJava.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at Cone.(Cone.java:22)
Exception in thread "main"
More over Windows gives this warning :
the application ( java.exe) cannot start, it cannot find jawt.dll. You
should reinstall the application.
If you have any ideas...
I have also another problem with vtkPanel and vtkCanvas... when I compile
SimpleVTK.java, I get this strange error:
D:/Program Files/vtk42/bin/vtk.jar(vtk/vtkPanel.java) [7:1] class vtkPanel
is public, should be declared in a file named vtkPanel.java
(source unavailable)
1 error
Errors compiling SimpleVTK.
But vtkPanel and vtkCanvas are actually in vtk.jar... I even try to
recompile them and put them again in vtk.jar... it doesn't work
Thanks in advance
bernadette
More information about the vtkusers
mailing list