[vtkusers] VTK 4.1.1 libvtkRenderingJava.so problem

Andrew Usher A.C.J.Usher at damtp.cam.ac.uk
Wed Dec 4 09:51:35 EST 2002


Hi,

The JAVA_AWT_LIBRARY:FILEPATH is set to the correct libjawt.so
/opt/sunone/j2sdk1.4.1/jre/lib/i386/libjawt.so in my case.

It really is most strange. Do you think it would be worth doinf a make
clean and recompiling from the top?

Thanks,

Andrew

---------------------------------------------------
Andrew Usher
Email: a.c.j.usher at damtp.cam.ac.uk
---------------------------------------------------

On Wed, 4 Dec 2002, Jeff Lee wrote:

> What does your CMakeCache.txt entry say for JAVA_AWT_LIBRARY:FILEPATH ?
> It should be something like /usr/local/java/jdk/jre/lib/i386/libjawt.so
> -Jeff
>
> Andrew Usher wrote:
>
> >Hi,
> >
> >I'm running VTK 4.1.1 with j2sdk1.4.1 on Redhat 7.3 and keep getting
> >following error:
> >
> >Exception in thread "main" java.lang.UnsatisfiedLinkError:
> >/usr/local/lib/vtk/libvtkRenderingJava.so:
> >/usr/local/lib/vtk/libvtkRenderingJava.so: undefined symbol: JAWT_GetAWT
> >        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> >        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
> >        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
> >        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> >        at java.lang.System.loadLibrary(System.java:832)
> >        at Cone.<clinit>(Cone.java:22)
> >
> >I've double checked the makefile to point to libjawt.so correctly and
> >recompiled with no success. Any ideas please?
> >
> >I'm compiling with:
> >
> >javac -classpath
> >/usr/local/vtk/VTK/Examples/Tutorial/Step1/Java:/usr/local/vtk/VTK/bin/vtk.jar
> >Cone.java
> >
> >and have LD_LIBRARY_PATH set to:
> >
> >/usr/local/lib/vtk:
> >/opt/sunone/j2sdk1.4.1/jre/lib/i386:
> >/opt/sunone/j2sdk1.4.1/lib
> >
> >Thanks very much,
> >
> >Andrew
> >
> >---------------------------------------------------
> >Andrew Usher
> >a.c.j.usher at damtp.cam.ac.uk
> >---------------------------------------------------
> >
> >
> >
> >
> >
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> >Follow this link to subscribe/unsubscribe:
> >http://public.kitware.com/mailman/listinfo/vtkusers
> >
> >
> >
> >
>
> --
> Jeff Lee <jeff at cdnorthamerica.com>
> Software Engineer
> CD North America
> 21 Lafayette Street, Suite 230
> Lebanon, NH 03766
> Tel:    (603) 643-9993 ext. 109
> Fax:    (603) 643-9994
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list