Hello Bernard,<br><br>thanks for link to Launch4J. I will use it, surely. <br><br>For sure there is no problem with vtk.jar because I defined it in the manifest file for my executable jar.<br><br>What do you mean saying PATH for the libraries? I put all the libraries *.dll in the same folder as my application. I didnt define PATH. I wanna create the application which anybody can use on his computer, so I thought that all the necessary *.dll's must be in the same level (folder) with the java *.jar aplication file? Is it true?
<br><br>Thanks 4 help till now. The problem is that my *.jar executable works fine on the computers with Visual Studio installed. On the others, I have this error I described earlier...:(<br><br>do you have any more clues?
<br><br>Bartek<br><br><div><span class="gmail_quote">On 2/26/07, <b class="gmail_sendername">Bernard Giroux</b> <<a href="mailto:giroux@geo.polymtl.ca">giroux@geo.polymtl.ca</a>> 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">
Bartlomiej Wilkowski a écrit :<br>> Hello,<br>><br>> I have some problem. I have made the application in Java using VTK<br>> (Wrapper), everything works fine. The problem appears when I create the<br>> executable *.jar file and I try to run it.
<br>><br>> I have all the *.dll´s from VTK in the same directory as my exacutable<br>> program. I have there also vtkCommonJava.dll but when I try to run the<br>> program I have the message that the problem with vtkCommonJava occured.
<br>> The application may be wioncorrectly installed.<br><br>Some ideas:<br><br>Did you define the path to vtk.jar in your application's manifest? Did<br>you define the PATH environment variable to include the path of your
<br>dll's directory?<br><br>One utility I find very useful: <a href="http://launch4j.sourceforge.net/">http://launch4j.sourceforge.net/</a><br><br>Hope this helps<br><br><br>><br>> I don´t know what can be the problem. I compiled the VTK with Java
<br>> Wrapper both in Release and Debug option as I couldn´t find the error. I<br>> tried to run the application with the dll´s from Debug and then with<br>> Release dll´s. Always the same problems. Should I include some
<br>> additional libraries, maybe from Visual Studio 2005 which was my<br>> compiler of the VTK source code?<br>><br>> Has anybody idea how to solve it. I am really depressed with that:(<br>><br>> Thanks in advance,
<br>><br>> Bartek<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>Bernard Giroux, ing., Ph.D.<br>Associé de recherche<br><br><a href="http://geo.polymtl.ca/~giroux">http://geo.polymtl.ca/~giroux</a><br><br></blockquote></div>
<br>