[vtkusers] java wrapping - vtkPanel error

Jeff Lee jeff at cdnorthamerica.com
Thu Jun 6 14:44:30 EDT 2002


Hi,
vtkPanel is packaged now, so the path should be

p:\wincvs\vtk40\vtkbin\java\vtk\vtkPanel.class
-Jeff



anast.jm at pg.com wrote:

>I just rebuilt vtk4 from cvs update with Java (jre 1.3.1) wrapping. Everything
>works except if I try to use vtkPanel, when compiling SimpleVTK example code I
>get this error. I recompiled vtkPanel just to make sure it was current. Just
>learning java so be nice....
>
>P:\>javac SimpleVTK.java
>SimpleVTK.java:19: cannot access vtkPanel
>bad class file: p:\wincvs\vtk40\vtkbin\java\vtkPanel.class
>class file contains wrong class: vtk.vtkPanel
>Please remove or make sure it appears in the correct subdirectory of the classpath.
>    vtkPanel renWin = new vtkPanel();
>    ^
>1 error
>
>Any ideas what I'm doing wrong...this used to work okay....john
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>  
>





More information about the vtkusers mailing list