How to install Jython on OS X

Setup Jython with OS X 10.9.2 Mavericks using brew.

brew install jython

You can end this tutorial now if you can run jython without an error. If you’re getting the $JYTHON_HOME error then just run this command once:

echo "export JYTHON_HOME=/usr/local/Cellar/jython/2.5.3/libexec" | tee -a ~/.bash_profile; source ~/.bash_profile

Walla! Now you can enjoy the power of Java from Jython! Knock your socks off with this tutorial from O’reilly.

Apr 8, 2014 Programming