compiling vtk with java

Miguel Angel Martin Fernandez vtk at helios.tel.uva.es
Tue Jun 15 05:25:06 EDT 1999


Hi, I'm trying to compile VTK v2.2 with java and I cannot do it. I'm usin
jdk1.1.3 and Linux Red Hat 6. The error output from the compiler is:

/usr/local/jdk1.1.3/bin/javac -d /disco2/software/javalib
../java/vtk/vtkActor2D.java
../java/vtk/vtkActor2D.java:7: Superclass vtk.vtkProp2D of class
vtk.vtkActor2D not found.
public class vtkActor2D extends vtkProp2D

1 error
make[1]: *** [../java/vtk/vtkActor2D.class] Error 1
make[1]: Leaving directory '/disco2/software/vtk/common'
make: *** [build_common] Error 2

I have the JDK installed in /usr/local/jdk1.1.3 and vtk in
/disco2/software

I've trying to compile the classes but I always have some errors:it never
finds the proper class.

The entries for java in the user.make file are

JDKHOME=/usr/local/jdk1.1.3
JAVAC=${JDKHOME}/bin/javac
JAVA_CLASS_HOME=/disco2/software/javalib/
JAVAH=${JDKHOME}/bin/javah
JAVA_INCLUDES=-I${JDKHOME}/include 
JAVA_CXX_LIB=/usr/lib/libiberty.a
/usr/src/redhat/SOURCES/tk8.0.4/generic/libstdc++.a
/usr/src/redhat/SOURCES/tk8.0.4/generic/libgcc.a

Maybe the problem is the CLASSPATH variable, but I think it's not.


	-----------------------------------------------
	Santiago Aja Fernandez
	Escuela Tecnica Superior 
        de Ingenieros de Telecomunicacion
			Valladolid
        -----------------------------------------------



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list