<br><font size=2 face="sans-serif">Chunyan,</font>
<br>
<br><font size=2 face="sans-serif">I must admit have not seen this line in any of the java examples but I would suggest removing the line and replacing it with a simple "import vtk.*;"</font>
<br><font size=2 face="sans-serif">and then also doing the library load:</font>
<br>
<br><font size=2 face="sans-serif">"static {</font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkCommonJava"); </font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkHybridJava"); </font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkFilteringJava"); </font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkIOJava"); </font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkImagingJava"); </font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkGraphicsJava"); </font>
<br><font size=2 face="sans-serif"> System.loadLibrary("vtkRenderingJava"); </font>
<br><font size=2 face="sans-serif"> }"</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">which is what I have been doing and it has worked fine.</font>
<br>
<br><font size=2 face="sans-serif">Rich</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Chunyan Jiang" <jiang@Telematik-Institut.de></b></font>
<br><font size=1 face="sans-serif">Sent by: </font>
<br><font size=1 face="sans-serif">vtkusers-admin@public.kitware.com</font>
<p><font size=1 face="sans-serif">22/04/2003 15:47 ZE2</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: "VTK-User" <vtkusers@public.kitware.com></font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: [vtkusers] vtk.util.VtkUtil not found in vtk.jar</font></table>
<br>
<br>
<br><font size=2><tt>Hi, vtk-user,<br>
I try to compile some vtk's examples in java. Many examples have "import<br>
vtk.util.VtkUtil;". This line can not pass compile. And I can not find<br>
vtkUtil in vtk.jar. How can I solve this problem? Thanks a lot!<br>
</tt></font>
<br><font size=2><tt>Chunyan<br>
</tt></font>
<br><font size=2><tt>***********************************************************************<br>
Chunyan Jiang, Dipl.-Inform.,<br>
Institut for Telematic<br>
Bahnhofstrasse 30-32, D-54292 Trier, Germany<br>
Phone: (+49) (0)651-97551-34<br>
Fax: (+49) (0)651-97551-12<br>
***********************************************************************<br>
</tt></font>
<br><font size=2><tt>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq><br>
Follow this link to subscribe/unsubscribe:<br>
http://public.kitware.com/mailman/listinfo/vtkusers</tt></font>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
<br>
This message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this message by anyone else is unauthorized and strictly prohibited. If you have received this message in error, please inform the sender immediately.<br>
<br>
TESSELLA Richard.Bridge@tessella.com<br>
__/__/__/ Tessella Support Services plc<br>
__/__/__/ 3 Vineyard Chambers, ABINGDON, OX14 3PX, England<br>
__/__/__/ Tel: (44)(0)1235-555511 Fax: (44)(0)1235-553301<br>
www.tessella.com<br>
Registered in England No. 1466429<br>
</font>