Skip to content

Instantly share code, notes, and snippets.

View jamesalbert's full-sized avatar
🐐
Working from home

James Albert jamesalbert

🐐
Working from home
  • Antioch, CA
View GitHub Profile
@jamesalbert
jamesalbert / install_csim.sh
Last active February 2, 2017 00:58
install csim for java
wget -O /tmp/csimForJava.jar.zip http://www.ics.uci.edu/~wayne/courses/cs115/CSIM/csimForJava.jar.zip;
export DIR=$JAVA_HOME
if [ -f /usr/libexec/java_home ]
then
DIR=$(/usr/libexec/java_home)/jre
fi
sudo unzip -n /tmp/csimForJava.jar.zip -d $DIR/lib/ext;
sudo chmod 644 $DIR/lib/ext/csimForJava.jar
echo "csimForJava.jar has been placed in $DIR/lib/ext"