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.