This file contains 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" |
NewerOlder