How to bulid VTK program in JDK1.2?

csyang csyang at ict.ac.cn
Wed Feb 23 23:05:07 EST 2000


Hi,all:
   I have installed jdk1.2 in d:\jdk1.2 and installed vtk24java in d:\vtk24java.Now,I want rebuild test.class use javac,but there are following errors.How can I do,thanks!

error: File d:\vtk24win32src\java\vtk\vtkRenderWindow.class does not contain typ
e vtkRenderWindow as expected, but type vtk.vtkRenderWindow. Please remove the f
ile, or make sure it appears in the correct subdirectory of the class path.
Regression.java:6: Class vtkRenderWindow not found.
    vtkRenderWindow renWin = new vtkRenderWindow();
    ^
Regression.java:6: Class vtkRenderWindow not found.
    vtkRenderWindow renWin = new vtkRenderWindow();
                                 ^
error: File d:\vtk24win32src\java\vtk\vtkRenderer.class does not contain type vt
kRenderer as expected, but type vtk.vtkRenderer. Please remove the file, or make
 sure it appears in the correct subdirectory of the class path.
Regression.java:7: Class vtkRenderer not found.
    vtkRenderer ren1 = new vtkRenderer();
    ^
Regression.java:7: Class vtkRenderer not found.
    vtkRenderer ren1 = new vtkRenderer();
                           ^

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20000224/ef68b848/attachment.html>


More information about the vtkusers mailing list