We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › use a third party jar
Page Index Toggle Pages: 1
use a third party jar (Read 846 times)
use a third party jar
Jun 14th, 2007, 2:07am
 
If I just want to use a third party jar, how do I properly include it?  I add it to the classpath, but jikes still complains.
thanks
Re: use a third party jar
Reply #1 - Jun 14th, 2007, 2:33am
 
Two options if you are using the processing IDE:

1. Just drag the JAR into the text window and it will be added to the sketch.

2. Make a folder called "code" in the current sketch's folder. Add the JAR to the "code" folder. (Option 1 automates this.)

Casey
Re: use a third party jar
Reply #2 - Jun 14th, 2007, 2:57am
 
thanks!  and also is using jni(eg. loading a native dll and calling its functions from java code) as straightforward in processing as it is in java?
Re: use a third party jar
Reply #3 - Jun 14th, 2007, 3:12pm
 
jni files are handled the exact same way. drag 'em into the window or create a 'code' folder.
Page Index Toggle Pages: 1