[vtkusers] Using VTK w/ Java - Can't get past VtkInit error
Dennis Jen
dsjen at cs.unc.edu
Thu Dec 4 20:27:36 EST 2003
Hi Fran,
I'm not sure what operating system you're using, but could it be that
you haven't sent the environment variables? For example, in my system,
I have the following:
"C:\Program Files\vtk43\bin\vtk.jar";
"C:\Program Files\vtk43\bin\";
- Dennis
-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of Fran Fabrizio
Sent: Thursday, December 04, 2003 7:32 PM
To: Mona Wong-Barnum
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Using VTK w/ Java - Can't get past VtkInit error
On Thu, 2003-12-04 at 16:55, Mona Wong-Barnum wrote:
> Hi Fran:
>
> Please excuse me if I'm stating the obvious...your email said
that you
> are not a Java developer and just helping out a professor...
>
> 1. Let's say your vtk.jar is in /usr/local/lib/vtk/
I've placed vtk.jar into <path to my java install>/jre/lib/ext/
directory since I know this is in the default classpath. (I lied a
little - I used to be a Java developer and still remember some things
:-)
Before I did this, I was getting errors (import vtk: vtk not found types
of things). Once I dropped it into ext/ they went away. The errors I'm
getting now seem very much like a C++ .so library can't find something,
so it's possibly not Java-related at all but I don't want to rule
anything out.
Thanks,
Fran
_______________________________________________
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://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list