[vtkusers] vtkPanel and java 1.1.8

florin popescu popescu at tecno.ior.it
Wed Apr 17 05:31:35 EDT 2002


Hello,
I am a newbie who asked about Java and Matlab a while back no one seems to 
know the answer, but..
I am closer to identifying the culprit so maybe someone can help.
(system config. : Win2000, Vtk4.0, Matlab 6.1 which includes JRE 1.1.8)

I get link errors on vtkInit still. In order to avoid those, the vtk user 
archives suggest I must first instantiate vtkPanel, which loads the shared 
libraries.
Problem is, no matter what I do with the Java classpath (for vtk.jar and 
directory of .class files, one for Matlab's jre and another for the jdk) 
and the system path (for the .dlls)
I cannot find vtkPanel from Matlab even though vtk works on the system and 
I can see other vtk classes just fine.

1) Why is vtkPanel.class, seeing that it's not included in vtk.jar, not in 
the vtk4.0 precompiled installation?
2) Even after running cmake (for java1.4 though), which outputs a 
vtkPanel.class file, I cannot 'find' it even after pointing to its 
directory under classpath.

In other words, I'd like to know where vtkPanel.class should be and how it 
is linked at runtime. Is there a difference in this respect between Java 
1.1.8 and 1.4. Is there a compatibility problem with vtk4?

Thanks in advance,
Florin




More information about the vtkusers mailing list