Hi Rodrigo,<br><br>I saw that Stephen has already given you the link to my howto webpage. I suppose that if you configure your paths as I wrote there and use vtk.jar file with your project it should work. <br><br>For your future work I will also give you one clue. When you create a jar file of your VTK with Java program, it can happen that it will not work on some other computers and you will get the same error as you have now. This is because, when you compile VTK with Visual Studio 2005 or higher, the created dlls unfortunately have dependencies to .NET
2.0 platform so what I discovered that it is necessary to install this platform anywhere you want to run your final application. I dont really like it, but I didnt find better solution. If you compile with older Visual Studio this problem does not appear. I can send you also info about how the Path environment is configuured on my comp.
<br><br>write me if you have any more questions considering VTK + Java. I was using Eclipse not NetBeans but I believe this is no problem since this is only tool. I ll try to help.<br><br>good luck,<br><br>Bartek Wilkowski
<br><br><br><div><span class="gmail_quote">2007/8/18, Stephen <<a href="mailto:mailinglists@icaril.eclipse.co.uk">mailinglists@icaril.eclipse.co.uk</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
hi<br><br>you might like to look at the guide written by Bartek at<br><br><a href="http://www.vtk.org/pipermail/vtkusers/2006-December/088478.html">http://www.vtk.org/pipermail/vtkusers/2006-December/088478.html</a><br><br>
The error you describe sounds like the software can't find the dlls<br>however. Either a dll has not been loaded in your code via<br><br><br> System.loadLibrary("vtkCommonJava");<br> System.loadLibrary
("vtkFilteringJava");<br> System.loadLibrary("vtkIOJava");<br> System.loadLibrary("vtkImagingJava");<br> System.loadLibrary("vtkGraphicsJava");<br> System.loadLibrary
("vtkRenderingJava");<br> System.loadLibrary("vtkHybridJava");<br> System.loadLibrary("vtkWidgetsJava");<br>etc<br><br>or the path to dlls has not been specified correctly in your environment
<br>variables. Here is an excerpt from mine..<br><br>C:\jdk1.5.0_10\bin;C:\vtk-5.0.2\VTKbin\bin\release;<br><br>If you have doubts about the integrity of your build you could try<br>downloading Cassandra which includes precompiled VTK Java wrappers.
<br><br><a href="http://dev.artenum.com/projects/cassandra">http://dev.artenum.com/projects/cassandra</a><br><br>good luck!<br><br>Stephen<br><br><br><br>Rodrigo wrote:<br><br>> Hello,<br>><br>> I've being trying to compile VTK to run on Windows XP OS and use it
<br>> with Java!<br>> I usually use NetBeans to build my Java projects...<br>><br>> But I'm getting some difficulties on this compilation...<br>> I've download Cmake, v. 2.6, also Visual Studio 2008, and tried some
<br>> steps I've found into<br>> internet tutorials.<br>><br>> I can configure everything on Cmake, and build the vtk source using<br>> Visual Studio, as followed<br>> the tutorials.<br>> Now, I did the compilation of a "java + vtk" program works.. But when
<br>> I try to run it, the follow<br>> errors occour:<br>><br>> "Exception in thread "main" java.lang.UnsatisfiedLinkError : VTKInit"<br>><br>> I have already tried to re-configure my PATH and CLASSPATH variables,
<br>> but I got no success,<br>> each time, a diferent error occours..<br>><br>> The question is just easy:<br>><br>> Can someone help me???<br>> Is there a official documentation (or just one that really works) that
<br>> explains how to configure the complete enviroment to use<br>> Java + VTK on Windows XP??<br>><br>> Thanks for any help!!<br>><br>> Rodrigo<br>><br>><br>><br>><br>>------------------------------------------------------------------------
<br>><br>>_______________________________________________<br>>This is the private VTK discussion list.<br>>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>>Follow this link to subscribe/unsubscribe:<br>><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>><br>><br><br><br>_______________________________________________
<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>