[vtkusers] Java wrapping under Linux
Bernhard Gschaider
Bernhard.Gschaider at unileoben.ac.at
Mon Aug 12 10:05:01 EDT 2002
Hi!
I'm trying to compile a project of mine that worked under
Win2000/jdk1.4/vtk4 under linux.
To do so I compiled vtkNightlySrc.
The VTK works with C++ and TCL (Tested with various examples), but
when I try to run Examples/Tutorial/Step1/Java/Cone.java (it compiles
alright) it fails (error message given below).
My configuration:
vtkNightlySrc (downloaded on the 12.th of August, earlier Versions
didn't work too)
Suse Linux 8.0
g++ 2.95.3
JDK: j2sdk-1.4 from Sun
Similar questions have been asked before, but I never found a
satisfying answer in the archives.
The error message when running the example is:
gcds07:/opt/src/VTK/Examples/Tutorial/Step1/Java # java -classpath /opt/src/VTK/java/vtk.jar:. Cone
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4C444790
Function=AddHashEntry__12vtkHashTablePvT1+0x60
Library=/usr/local/lib/vtk/libvtkCommonJava.so
Current Java thread:
at vtk.vtkPolyData.VTKCastInit(Native Method)
at vtk.vtkPolyDataSource.GetOutput_2(Native Method)
at vtk.vtkPolyDataSource.GetOutput(vtkPolyDataSource.java:20)
at Cone.main(Cone.java:42)
Dynamic libraries:
08048000-0804d000 r-xp 00000000 03:07 174472 /usr/java/j2sdk1.4.0_01/bin/java
0804d000-0804e000 rw-p 00004000 03:07 174472 /usr/java/j2sdk1.4.0_01/bin/java
[lots of similar messages deleted]
Local Time = Mon Aug 12 15:59:49 2002
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid20517.log.
# Please refer to the file for further information.
#
More information about the vtkusers
mailing list