Skip to content

Instantly share code, notes, and snippets.

@jamesalbert
Last active February 2, 2017 00:58
Show Gist options
  • Save jamesalbert/23091b02610c7d5466588b0bdc56a12f to your computer and use it in GitHub Desktop.
Save jamesalbert/23091b02610c7d5466588b0bdc56a12f to your computer and use it in GitHub Desktop.
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"
@jamesalbert
Copy link
Author

Run "curl -L https://goo.gl/fbGgXJ | sh"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment