Você está na página 1de 3

####################################################################

# #
# d8888 888 .d8888b. .d8888b. d8888 #
# d88888 888 d88P Y88b d88P Y88b d8P888 #
# d88P888 888 888 888 Y88b. d8P 888 #
# d88P 888 888 888 "Y888b. d8P 888 #
# d88P 888 888 888 88888 "Y88b. d88 888 #
# d88P 888 888 888 888 "888 8888888888 #
# d8888888888 888 Y88b d88P Y88b d88P 888 #
# d88P 888 88888888 "Y8888P88 "Y8888P" 888 #
# #
####################################################################
# #
# Java Programming Environment Setup #
# for Mac OS X - v3.5 #
# Princeton University - Hayk Martirosyan #
# #
####################################################################
Initializing functions and beginning installation...
Creating installation directory at
/Users/dakillpack/algs4
#### Step 1 - Java #################################################
Java is already installed.
Downloading java execution script from
http://algs4.cs.princeton.edu/mac/java-algs4
to
/usr/local/bin/java-algs4
Granting executable permission to
/usr/local/bin/java-algs4
Downloading javac execution script from
http://algs4.cs.princeton.edu/mac/javac-algs4
to
/usr/local/bin/javac-algs4
Granting executable permission to
/usr/local/bin/javac-algs4
Creating Java library directory at
/Users/dakillpack/Library/Java
Creating Java extensions directory at
/Users/dakillpack/Library/Java/Extensions
#### Step 2 - Textbook Libraries ##################################
Downloading stdlib.jar from
http://introcs.cs.princeton.edu/java/stdlib/stdlib.jar
to
/Users/dakillpack/algs4/stdlib.jar
Downloading algs4.jar from
http://algs4.cs.princeton.edu/code/algs4.jar
to
/Users/dakillpack/algs4/algs4.jar
#### Step 3 - Checkstyle ##########################################
Downloading checkstyle from
http://algs4.cs.princeton.edu/mac/checkstyle.zip
to
/Users/dakillpack/algs4/checkstyle.zip
Extracting zip archive in place at
/Users/dakillpack/algs4/checkstyle.zip
and deleting .zip file.
Downloading checkstyle configuration file from
http://algs4.cs.princeton.edu/mac/checkstyle.xml
to
/Users/dakillpack/algs4/checkstyle-5.5/checkstyle.xml
Downloading checkstyle execution script from
http://algs4.cs.princeton.edu/mac/checkstyle-algs4
to
/usr/local/bin/checkstyle-algs4
Granting executable permission to
/usr/local/bin/checkstyle-algs4
#### Step 4 - Findbugs ############################################
Downloading findbugs from
http://algs4.cs.princeton.edu/mac/findbugs.zip
to
/Users/dakillpack/algs4/findbugs.zip
Extracting zip archive in place at
/Users/dakillpack/algs4/findbugs.zip
and deleting .zip file.
Downloading findbugs configuration file from
http://algs4.cs.princeton.edu/mac/findbugs.xml
to
/Users/dakillpack/algs4/findbugs-2.0.1/findbugs.xml
Downloading findbugs execution script from
http://algs4.cs.princeton.edu/mac/findbugs-algs4
to
/usr/local/bin/findbugs-algs4
Granting executable permission to
/usr/local/bin/findbugs-algs4
#### Step 5 - DrJava ##############################################
Downloading DrJava from
http://algs4.cs.princeton.edu/mac/drjava-osx.tar.gz
to
/Applications/drjava.tar.gz
Extracting DrJava into the Applications directory
/Applications/DrJava.app
Downloading DrJava configuration file from
http://algs4.cs.princeton.edu/mac/drjava-config.txt
to
/Users/dakillpack/.drjava
Replacing text in file
/Users/dakillpack/.drjava
from
INSTALL_DIR
to
/Users/dakillpack/algs4
Creating a shortcut to DrJava on the desktop...
#### Step 6 - Terminal #############################################
Creating a shortcut to Terminal on the desktop...
#### Step 7 - Test it out! #########################################
Downloading the test Java program...
Installation complete! Compiling test program...
Test program compiled. Running...
If you saw the bullseye and textbook graphic, the installation
was successful and you are ready to start programming in Java.
Continue with the introductory tutorial on the website.
NOTE: If there were any error messages during this setup, check the
troubleshooting section on the website or ask for help.
A log file of this installation is saved at
/Users/dakillpack/algs4/log.txt
You should now close this window.

Você também pode gostar