<span class="gmail_quote">On 3/3/08, <b class="gmail_sendername">flory</b> &lt;<a href="mailto:florysf@gmail.com">florysf@gmail.com</a>&gt; wrote:</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">
<br> Hello,<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Does anyone know if there is any possibility to run an application<br> that uses Java with VTK on several platforms(Windows, MacOS, Linux) without<br> having installed VTK? I tried on Windows to include the vtk.jar and the dlls<br>
 but it didn&#39;t work. I would appreciate any advice. What I want is a jar or<br> something similar to an executable that could start the application without<br> being asked to install VTK. I didn&#39;t find anywhere what should I include<br>
 into the jar.<br>&nbsp;&nbsp;Thanks!<br><br><br> Flory<br><br> --<br> View this message in context: <a href="http://www.nabble.com/Run-Java-VTK-application...-tp15799914p15799914.html">http://www.nabble.com/Run-Java-VTK-application...-tp15799914p15799914.html</a><br>
 Sent from the VTK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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><br>Hi,<br><br>You do not need to extract the VTK classes and java files from vtk.jar. What you simply need to do is to have all the external JAR files (like vtk.jar) in the same location as your Java&nbsp;(JAR) program or define in the Manifest where they are. Second thing is that in the same location with the Java program there must be all VTK dinamic libraries (for windows *.dll). If you still have problem with running it, I would really like to know what kind of problem it is.&nbsp;Probably&nbsp;I&nbsp;can&nbsp;help&nbsp;you.<br>
 <br>There is one very strange thing if you compile your VTK using Visual Studio 2005 or higher. During the compilation process of VTK, inside the VTK *.dlls there are links to the .NET 2.0 platform so no JAVA+VTK program will run if the computer does not have installed .NET 2.0.&nbsp;Weird&nbsp;limitation,&nbsp;I&nbsp;know&nbsp;;/ If you compile your VTK in e.g. Visual Studio 6 (older one) there is no such a problem.<br>
<br>just contact me if you need some more help. If you would like some clues how to prepare Java VTK developer environment, how to install all these things etc just follow this link: <a href="http://www.spinet.pl/~wilku/vtk-howto/">http://www.spinet.pl/~wilku/vtk-howto/</a> and the references given there.<br>
<br>Best regards,<br><br>Bartek Wilkowski<br>