Nicholas,<br><br>Thanks for the reply. This doesn't seem to be working 
for me, perhaps you can tell me what I'm doing wrong.<br><br>I'm trying 
to get this working with the rosjava tutorials you sent to us here at 
the UofA. I created an externalLibs package like the one you described, 
with a jar directory. It contains one jar (jfreechart-1.0.13.jar). I 
added your cmake code below to CMakeLists.txt and I added one line to 
Talker.java:<br>
<br><div style="margin-left: 40px;">import org.jfree.*;<br><br></div>However
 make still gives the error:<br><br><div style="margin-left: 40px;">Talker.java:3:
 package org.jfree does not exist<br>import org.jfree.*;<br>^<br>
1 error<br></div><br>It seems like it's not finding the jar?<br><br>Thank you for 
your help,<br><br>Jeremy<br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 4:03 PM, Nicholas Butko <span dir="ltr"><<a href="mailto:nbutko@ucsd.edu">nbutko@ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
That must be outdated. I added some cmake code to rosjava to support this.<br>
<br>
Here is an example from cmake code that links to my "externalLibs" package, which simply consists of a "jar" directory, containing a bunch of .jar files and a .jnilib file:<br>
<br>
rosbuild_find_ros_package(externalLibs)<br>
add_classpath(${externalLibs_PACKAGE_PATH}/jar)<br>
add_runtime_classpath(${externalLibs_PACKAGE_PATH}/jar)<br>
add_jar_dir(${externalLibs_PACKAGE_PATH}/jar)<br>
add_jni_path(${externalLibs_PACKAGE_PATH}/jar)<br>
<div class="im"><br>
<br>
<br>
<br>
On Jul 2, 2010, at 3:53 PM, Jeremy Wright wrote:<br>
<br>
> The rosjava page says there isn't currently a way to use external jars, but has anyone experimented with this (successfully)? Does anyone know how I would get started?<br>
><br>
> Jeremy Wright<br>
</div>> ------------------------------------------------------------------------------<br>
> This SF.net email is sponsored by Sprint<br>
> What will you do first with EVO, the first 4G phone?<br>
> Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first_______________________________________________" target="_blank">http://p.sf.net/sfu/sprint-com-first_______________________________________________</a><br>

> ros-users mailing list<br>
> <a href="mailto:ros-users@lists.sourceforge.net">ros-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/ros-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/ros-users</a><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br>