[vtkusers] problem with java
Jeff Lee
jeff at cdnorthamerica.com
Fri Dec 1 14:25:36 EST 2000
Try setting you CLASSPATH to include the current directory too
setenv CLASSPATH /usr/local/vtk31/java:.
-Jeff
Miguel Angel Martin Fernandez wrote:
> Hello users,
>
> I've compiled vtk with java support in redhat linux 7.0, with java
> 1.3. No problem at all.
>
> After that, I'm trying to test it with the example
>
> http://cgi.ncsa.uiuc.edu/People/heiland/vtk/sphere.java
>
> I really don't know anything about java, but I've made:
>
> % javac sphere.java
> % java sphere
>
> and I got the next trouble when execute "java sphere":
>
> Exception in thread "main" java.lang.NoClassDefFoundError: sphere/class
>
> My CLASSPATH is /usr/local/vtk31/java (I don't know if this is important)
>
> Any help will be welcome. Thank you in advance.
>
> Miguel.
>
> --
> ________________________________________________________
> _________(_ _)_________
> \········(_ Miguel Ángel Martín Fernández _)········/
> \·······(_ ETSI Telecomunicación, Universidad de Valladolid _)·······/
> \······(_ Campus Miguel Delibes, Camino del Cementerio, s/n _)······/
> )·····(_ e-mail: miguel at atenea.tel.uva.es _)·····(
> /······(_ Tfno: +34-983-423000 Ext. 25548 _)······\
> /·······(________________________________________________________)·······\
> /__________) (_____________\
>
>
> _______________________________________________
> 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