[vtkusers] building vtk java

harsh at lanl.gov harsh at lanl.gov
Fri Jan 19 11:56:23 EST 2001


Hi,

I'm sure I'm doing something wrong But I don't know what. I'm trying to
build vtkjava on Linux ( Debian Potato r2, kernel 2.2.15). Afterrading past
e-mails I tried configure with{opengl,x,java.shared,patented}. In user.make
I have the following definitions:


# if you want to try the java support you'll need to set the following
# variables to match your environment and uncomment them
#
JDKHOME=/usrA/jdk13/jdk1.3
JAVAC=${JDKHOME}/bin/javac
JAR=${JDKHOME}/bin/jar
JAVA_CLASS_HOME=/usrA/jim/java 
CLASSPATH=/usrA/jim/java
JAVAH=${JDKHOME}/bin/javah
JAVA_INCLUDES=-I${JDKHOME}/include 
JAVA_CXX_LIB=/usr/lib/gcc-lib/i386-linux/2.95.2/libstdc++.a
/usr/lib/gcc-lib/i386-linux/2.95.2/libgcc.a
#JAVA_CXX_LIB=/common/software/g++-2.7.1/sun4/5.4/lib/libiberty.a
/common/software/g++-2.7.1/sun4/5.4/lib/libstdc++.a /common/s
oftware/g++-2.7.1/sun4/5.4/lib/gcc-lib/sparc-sun-solaris2.4/2.7.1/libgcc.a


The e-mail I've read said to define JAVA_CLASS_HOME and CLASSPATH correctly,
but I'm really new to java so I'm not sure what correctly is. I've tried
vtk3.2/java/vtk ( where the .java files are ) and /usrA/jim/java ( a directory
in my space)._

When I try do the build, the make procedure enters common, builds the
libVTKCommon.so, parses the common routines and places the .java files in 
/usrA/vtk3.2/java/vtk and then fails on the first call to javac when
tring to compile vtkActor2D.java with the error message can't resolve
symbol: class vtkProp.

What am I doing wrong??   
How_should the *CLASS* environment symbol be set?
How should JAVA_CXX_LIB symbol be set?


Thanks,
Jim




---------------------------------------------
Jim Harsh  E-Mail: harsh at lanl.gov
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 19-Jan-2001,Time: 09:55:08
---------------------------------------------




More information about the vtkusers mailing list