Last active
February 2, 2017 00:58
-
-
Save jamesalbert/23091b02610c7d5466588b0bdc56a12f to your computer and use it in GitHub Desktop.
install csim for java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run "curl -L https://goo.gl/fbGgXJ | sh"