[vtkusers] how do I know if vtk is installed?
Peter Eipert
eipert at web.de
Thu May 3 08:34:54 EDT 2012
Hi Ilan
the error with the libjawt.so sounds familiar to me. I also had such an
error. The solution was to load the jawt library before loading the vkt
libraries.
System.loadLibrary("jawt");
I hope this works for you too.
Peter
Am 03.05.2012 14:05, schrieb Ilan Tal:
> Hi Peter,
> Before answering you I wanted to try things on my laptop. I had Ubuntu
> 11.10 installed on it and everything was jdk 1.6. I checked that it
> worked and then updated to 12.04. Like my desktop, the laptop stopped
> being able to run the vtk after the update. This is the error message
>
> Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
> /home/ilan/Fiji.app/lib/linux32/libvtkRenderingJava.so.5.8.0:
> libjawt.so: cannot open shared object file: No such file or directory
>
> It clearly found libvtkRenderingJava.so.5.8.0, but it can no longer find
> libjawt.so. I can clearly see it in
> /usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386, as well in the same place
> on java-7-openjdk-i383. I see my default jdk is still pointing to 1.6,
> and the program is compiled for 1.6. (I went back and compiled for 1.6
> instead of 1.7)
>
> It worked 2 hours ago on Ubuntu 11.10, so what could the upgrade change?
> I changed nothing under my personal control during the update.
>
> Do you have any idea what could possibly have gone wrong? I'm stumped.
>
> Thanks,
> Ilan
>
>
More information about the vtkusers
mailing list