[vtkusers] vtkCommonJava.dll problem PLEASE HELP!!

Bernard Giroux giroux at geo.polymtl.ca
Mon Feb 26 13:38:07 EST 2007


Bartlomiej Wilkowski a écrit :
> Hello,
> 
> I have some problem. I have made the application in Java using VTK 
> (Wrapper), everything works fine. The problem appears when I create the 
> executable *.jar file and  I try to run it.
> 
> I have all the *.dll´s from VTK in the same directory as my exacutable 
> program. I have there also vtkCommonJava.dll but when I try to run the 
> program I have the message that  the problem with vtkCommonJava occured. 
> The application may be wioncorrectly installed.

Some ideas:

Did you define the path to vtk.jar in your application's manifest?  Did 
you define the PATH environment variable to include the path of your 
dll's directory?

One utility I find very useful: http://launch4j.sourceforge.net/

Hope this helps


> 
> I don´t know what can be the problem. I compiled the VTK with Java 
> Wrapper both in Release and Debug option as I couldn´t find the error. I 
> tried to run the application with the dll´s from Debug and then with 
> Release dll´s. Always the same problems. Should I include some 
> additional libraries, maybe from Visual Studio 2005 which was my 
> compiler of the VTK source code?
> 
> Has anybody idea how to solve it. I am really depressed with that:(
> 
> Thanks in advance,
> 
> Bartek
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


-- 
Bernard Giroux, ing., Ph.D.
Associé de recherche

http://geo.polymtl.ca/~giroux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070226/1daccb00/attachment.bin>


More information about the vtkusers mailing list