Вы находитесь на странице: 1из 3

#################################################################### # # # 8888888 888 .d8888b. .d8888b.

# # 888 888 d88P Y88b d88P Y88b # # 888 888 888 888 Y88b. # # 888 88888b. 888888 888d888 .d88b. 888 "Y888b. # # 888 888 "88b 888 888P" d88""88b 888 "Y88b. # # 888 888 888 888 888 888 888 888 888 "888 # # 888 888 888 Y88b. 888 Y88..88P Y88b d88P Y88b d88P # # 8888888 888 888 "Y888 888 "Y88P" "Y8888P" "Y8888P" # # # #################################################################### # # # Java Programming Environment Setup # # for Apple OS X - v2.0 # # Princeton University - Hayk Martirosyan # # # #################################################################### Initializing functions and beginning installation... Creating installation directory at /Users/cheungfrancis/introcs Creating user local directory at /usr/local Creating bin directory at /usr/local/bin #### Step 1 - Java ################################################# Java is already installed. #### Step 2 - Java3D and Java OpenGL ############################### Creating Java library directory at /Users/cheungfrancis/Library/Java Creating Java extensions directory at /Users/cheungfrancis/Library/Java/Extensions Downloading Java3D from http://introcs.cs.princeton.edu/java/mac/java3d.zip to /Users/cheungfrancis/introcs/java3d.zip Extracting zip archive in place at /Users/cheungfrancis/introcs/java3d.zip and deleting .zip file. Copying all libraries in /Users/cheungfrancis/introcs/java3d to /Users/cheungfrancis/Library/Java/Extensions #### Step 3 - Textbook Libraries ################################## Downloading stdlib.jar from http://introcs.cs.princeton.edu/java/stdlib/stdlib.jar

to /Users/cheungfrancis/introcs/stdlib.jar Copying library from /Users/cheungfrancis/introcs/stdlib.jar to /Users/cheungfrancis/Library/Java/Extensions Downloading algs4.jar from http://algs4.cs.princeton.edu/code/algs4.jar to /Users/cheungfrancis/introcs/algs4.jar Copying library from /Users/cheungfrancis/introcs/algs4.jar to /Users/cheungfrancis/Library/Java/Extensions #### Step 4 - Checkstyle ########################################## Downloading checkstyle from http://introcs.cs.princeton.edu/java/mac/checkstyle.zip to /Users/cheungfrancis/introcs/checkstyle.zip Extracting zip archive in place at /Users/cheungfrancis/introcs/checkstyle.zip and deleting .zip file. Downloading checkstyle configuration file from http://introcs.cs.princeton.edu/java/mac/checkstyle.xml to /Users/cheungfrancis/introcs/checkstyle-5.4/checkstyle.xml Downloading checkstyle execution script from http://introcs.cs.princeton.edu/java/mac/checkstyle to /usr/local/bin/checkstyle Granting executable permission to /usr/local/bin/checkstyle #### Step 5 - Findbugs ############################################ Downloading findbugs from http://introcs.cs.princeton.edu/java/mac/findbugs.zip to /Users/cheungfrancis/introcs/findbugs.zip Extracting zip archive in place at /Users/cheungfrancis/introcs/findbugs.zip and deleting .zip file. Downloading findbugs configuration file from http://introcs.cs.princeton.edu/java/mac/findbugs.xml to /Users/cheungfrancis/introcs/findbugs-1.3.9/findbugs.xml Downloading findbugs execution script from http://introcs.cs.princeton.edu/java/mac/findbugs

to /usr/local/bin/findbugs Granting executable permission to /usr/local/bin/findbugs #### Step 6 - DrJava ############################################## Deleting old version of DrJava at /Applications/DrJava.app Downloading DrJava from http://introcs.cs.princeton.edu/java/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://introcs.cs.princeton.edu/java/mac/drjava-config.txt to /Users/cheungfrancis/.drjava Replacing text in file /Users/cheungfrancis/.drjava from INSTALL_DIR to /Users/cheungfrancis/introcs Creating a shortcut to DrJava on the desktop... #### Step 7 - Terminal ############################################# Creating a shortcut to Terminal on the desktop... #### Step 8 - 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/cheungfrancis/introcs/log.txt You should now close this window.

Вам также может понравиться