[vtkusers] how do I know if vtk is installed?

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jan 30 08:42:30 EST 2012


Hi Ilan,

I'm not sure how you are going to deal with that but you can simply
try to load the native library and if that fails, you know that VTK is
not around or properly set. Moreover, if you don't want to have the
VTK jar in your package, you can do that exact same thing using
reflexivity.

Seb

On Mon, Jan 30, 2012 at 3:58 AM, Ilan <ilan.tal at gmail.com> wrote:
> I have a Java project which I distribute. I would like to start to use vtk
> but I don't know if user X has vtk installed or not. Is there a way which I
> can check under Java so I can hide the menu entry if he hasn't installed
> vtk?
>
> Thanks,
> Ilan
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/how-do-I-know-if-vtk-is-installed-tp5440818p5440818.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list