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.
IndexProgramming Questions & HelpIntegration › jython: setting up classpath
Page Index Toggle Pages: 1
jython: setting up classpath (Read 1746 times)
jython: setting up classpath
Mar 27th, 2008, 11:49am
 
Hi,

I'm setting up jython to work with processing.
To get the basic core module up and running is pretty straightforward, though I'd like to have my set up complete. Therefore I need to set up the CLASSPATH such that it points to the /libraries folder as well.

Since I have no understanding of java whatsoever, even a very basic task as such is pretty tricky. Getting jython to run with processing was rather straightforward though, just a simple install, adding jython to $PATH, having CLASSPATH point to core.jar (I copied it to jython's directory, since setting up CLASSPATH in .bash_profile doesn't seem to work out with paths with spaces...) A pointer how to set up the libraries would be much appreciated!

from ~/.bash_profile:

CLASSPATH=/Users/jelleferinga/jython2.2.1/jython.jar
# add processing
CLASSPATH=$CLASSPATH:/Users/jelleferinga/jython2.2.1/processing/core.jar
export CLASSPATH

cheers,

-jelle

Page Index Toggle Pages: 1