<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body alink="#EE0000" bgcolor="#ffffff" link="#0000EE" text="#000000"
vlink="#551A8B">
<div class="moz-cite-prefix"><br>
<pre wrap="">1) I understand I have to add VTK as a library to my project in netbeans,
which I can do by adding the jar, assuming I just doloaded the package and
I'm on Ubuntu where would the .jar be exactly ?<b>
</b><b><big><big><font color="#006600"><small><small><font color="#000000">The jar file may be located in</font></small> <font color="#000099">/usr/share/java/</font></small></font></big></big></b>
2) If I installed the package as you said do I still need to go with the two
steps on this page <a class="moz-txt-link-rfc2396E" href="http://www.vtk.org/Wiki/VTK/Java_Wrapping"><http://www.vtk.org/Wiki/VTK/Java_Wrapping></a> ?
<b><small><big>Yes</big><big><big><font color="#006600"><small><font color="#000000">.</font><font color="#000000"> You need to run </font></small></font></big></big></small></b><b>the following command.</b><b>
</b><b><font color="#660000">$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni/</font></b><b>
</b><b>
</b><b>If you run your application from command line then you need to add the jar file to class path. </b><b>
</b><b>that is </b><b>-cp</b><b> argument in the following command.</b><b>
</b><b><font color="#660000">$ java -cp your_vtk_build_dir/bin/vtk.jar vtk.sample.Demo</font></b><b>
</b><b>But if you run your application from netbeans, there is no need to add this parameter.</b><b>
</b><b>Because you already added the jar in your project. Which means you added it in class path.</b><b>
</b><b>
</b><b>Hope it helps...</b>
</pre>
--<br>
Sathish<br>
<br>
On Monday 28 January 2013 08:08 PM, GBora wrote:<br>
</div>
<blockquote cite="mid:1359383912503-5718128.post@n5.nabble.com"
type="cite">
<pre wrap="">Hy, just wanted to say thank you I'm still new to VTK and it helps a lot to
have the library already compiled.
That being said I have a few questions if you don't mind:
1) I understand I have to add VTK as a library to my project in netbeans,
which I can do by adding the jar, assuming I just doloaded the package and
I'm on Ubuntu where would the .jar be exactly ?
2) If I installed the package as you said do I still need to go with the two
steps on this page <a class="moz-txt-link-rfc2396E" href="http://www.vtk.org/Wiki/VTK/Java_Wrapping"><http://www.vtk.org/Wiki/VTK/Java_Wrapping></a> ?
And if so could you again please tell me what the path to the library is?
--
View this message in context: <a class="moz-txt-link-freetext" href="http://vtk.1045678.n5.nabble.com/Linux-VTK-Installation-About-VTK-packages-in-the-Linux-repositories-tp5683151p5718128.html">http://vtk.1045678.n5.nabble.com/Linux-VTK-Installation-About-VTK-packages-in-the-Linux-repositories-tp5683151p5718128.html</a>
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>