[vtkusers] vtkCommonJava.dll problem PLEASE HELP!!
Bartlomiej Wilkowski
wilku_83 at o2.pl
Mon Feb 26 18:53:11 EST 2007
Hello Bernard,
thanks for link to Launch4J. I will use it, surely.
For sure there is no problem with vtk.jar because I defined it in the
manifest file for my executable jar.
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?
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...:(
do you have any more clues?
Bartek
On 2/26/07, Bernard Giroux <giroux at geo.polymtl.ca> wrote:
>
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070226/1527a403/attachment.htm>
More information about the vtkusers
mailing list