<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=418395814-12062003>set
<FONT face="Times New Roman" color=#000000 size=3>D:\Program Files\vtk42\bin in
system path. Also set the directory having jawt.dll in system path. it can be
found at</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=418395814-12062003><java installation dir>\jre\bin.
make sure vtkPanel and vtkCanvas are in vtk.jar. if they are not, compile them
with -d option and add the class file to vtk.jar</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=418395814-12062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=418395814-12062003>Shyam</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
vtkusers-admin@public.kitware.com
[mailto:vtkusers-admin@public.kitware.com]<B>On Behalf Of </B>Bernadette
Louat<BR><B>Sent:</B> Thursday, June 12, 2003 8:16 PM<BR><B>To:</B> vtk
users<BR><B>Subject:</B> [vtkusers] libraries link error<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2>I can't really start using vtk because I get the
following error with all examples whan I run them.</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm using the following command for
Cone.class:</FONT></DIV>
<DIV><FONT face=Arial size=2>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" </FONT><FONT face=Arial
size=2>Cone</FONT></DIV>
<UL>
<LI>java.lang.UnsatisfiedLinkError: D:\Program
Files\vtk42\bin\vtkRenderingJava.dll: Can't find dependent libraries
<LI><FONT face=Arial size=2>at
java.lang.ClassLoader$NativeLibrary.load(Native Method) </FONT>
<LI><FONT face=Arial size=2>at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473) </FONT>
<LI><FONT face=Arial size=2>at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)</FONT>
<LI><FONT face=Arial size=2>at
java.lang.Runtime.loadLibrary0(Runtime.java:788) </FONT>
<LI><FONT face=Arial size=2>at java.lang.System.loadLibrary(System.java:832)
<LI>at Cone.<CLINIT>(Cone.java:22)
<UL>
<LI>Exception in thread "main" </LI></UL></LI></UL>
<DIV>More over Windows gives this warning :</DIV>
<DIV>the application ( java.exe) cannot start, it cannot find jawt.dll. You
should reinstall the application.</DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>If you have any ideas...</DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>I have also another problem with vtkPanel and vtkCanvas... when I
compile SimpleVTK.java, I get this strange error:</DIV>
<UL>
<LI>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
<LI>(source unavailable)
<LI> 1 error
<LI>Errors compiling SimpleVTK. </LI></UL>
<DIV>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</DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>Thanks in advance</DIV>
<DIV>bernadette</DIV></BLOCKQUOTE></FONT></BODY></HTML>