vtkJava on Solaris

Randy Heiland heiland at ncsa.uiuc.edu
Wed Apr 12 07:09:04 EDT 2000


On Apr 12,  9:34am, Sathya Krishnamurthy wrote:
> Subject: vtkJava on Solaris
>
> Hi
>
> I am trying compile vtkJava <nightly_release> on Ultra-10 Solaris 2.7 with
> JDK 1.2.2. I get the following error.
>
> /apps/Java-WorkShop/Solaris_JDK_1.2.2_05/bin/javac -d
> /local/skrishna/vtk/java ../java/vtk/vtkActor2D.java
> ../java/vtk/vtkActor2D.java:7: Superclass vtk.vtkProp of class vtk.vtkActor2D
not found.
> public class vtkActor2D extends vtkProp
>                                 ^
> 1 error
>
> Can somebody kindly explain me on this ? Also, I have already set my
> user.make to point to proper Java Locations.

Sathya,

You need to manually compile vtkProp.java (and maybe more):
% cd /local/skrishna/vtk/java/vtk
% javac vtkProp.java
(maybe just 'javac *.java')

and I assume your CLASSPATH includes  /local/skrishna/vtk/java

--Randy


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list