首页 > 代码库 > Batch to setup JAVA programming environment for Algorithm class from priston

Batch to setup JAVA programming environment for Algorithm class from priston

Original web site: http://algs4.cs.princeton.edu/linux/

Part. I

[username:~/][username:~/] mkdir algs4[username:~/] cd algs4[username:~/algs4/] mkdir bin[username:~/introcs/] sudo apt-get update[username:~/introcs/] sudo apt-get install openjdk-7-jdk

Part. II

wget http://algs4.cs.princeton.edu/linux/drjava.jarwget http://algs4.cs.princeton.edu/linux/drjavachmod 700 drjavamv drjava binwget http://algs4.cs.princeton.edu/code/stdlib.jarwget http://algs4.cs.princeton.edu/code/algs4.jarwget http://algs4.cs.princeton.edu/linux/javac-algs4wget http://algs4.cs.princeton.edu/linux/java-algs4chmod 700 javac-algs4 java-algs4mv javac-algs4 binmv java-algs4 binwget http://algs4.cs.princeton.edu/linux/checkstyle.zipwget http://algs4.cs.princeton.edu/linux/findbugs.zipunzip checkstyle.zipunzip findbugs.zipwget http://algs4.cs.princeton.edu/linux/checkstyle.xmlwget http://algs4.cs.princeton.edu/linux/findbugs.xmlwget http://algs4.cs.princeton.edu/linux/checkstyle-algs4wget http://algs4.cs.princeton.edu/linux/findbugs-algs4chmod 700 checkstyle-algs4 findbugs-algs4mv checkstyle-algs4 binmv findbugs-algs4 binmv checkstyle.xml checkstyle-5.5mv findbugs.xml findbugs-2.0.3

 

Batch to setup JAVA programming environment for Algorithm class from priston