0% found this document useful (0 votes)
81 views8 pages

Ab 1.5.1 Organizing Folders and Exploring The Installation of The SDK and Other Tools

This lab describes three different platforms for lab work. The Windows platform, the MacOS platform and the Unix / Linux platforms. The student completes the activities specific to the platform in which they will primarily be completing the labs. Successful completion of this lab ensures that the student has all the resources to complete subsequent labs.

Uploaded by

lcypher1234
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views8 pages

Ab 1.5.1 Organizing Folders and Exploring The Installation of The SDK and Other Tools

This lab describes three different platforms for lab work. The Windows platform, the MacOS platform and the Unix / Linux platforms. The student completes the activities specific to the platform in which they will primarily be completing the labs. Successful completion of this lab ensures that the student has all the resources to complete subsequent labs.

Uploaded by

lcypher1234
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Lab 1.5.

1 Organizing folders and exploring the installation of the SDK and other

tools

Estimated Time
30 minutes

Learning Objective
In this lab activity, students will locate the resources required to complete all the labs in the course.

Description/Scenario
This lab describes three different platforms for lab work. The Windows platform, the Mac OS and the Unix/Linux platforms. The student completes the activities specific to the platform in which they will primarily be completing the labs. There are three Parts to this lab. Part I describes tasks and activities for the Windows platform. Part II describes tasks and activities for the MacOS platform, and Part III describes tasks and activities for the Unix/Linux platforms. Labs for each of the platforms begins first with the verification of required files, installation of files that are missing. This is a required lab. Successful completion of this lab ensures that the student has all the resources to complete subsequent labs.

Tasks Step 1 Checklist for resources (all platforms)


Review the following list of resources. Discuss with your instructor the location of these resources. Installed SDK files J2SDK1.4.x FOLDER J2SDK1.4.X \ DOCS FOLDER. J2SDK1.4.X\src.zip

Installed BlueJ files BlueJ.exe BlueJ Launcher Select VM examples folder lib folder uninst folder

1-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

JavaCourse files and folders. A zip file labeled javacourse.zip should be provided by the instructor. The zip file will extract to create folders for each chapter labeled Chap1.. Chap13 folder for resources Printout or electronic copy of the Case Study JBANK Computer Lab usage policies

Additional files and folders that are provided, but not essential to completing the labs are: UML tool Installation instructions for the SDK Installation instructions for Courselab files

The following sections describe the activates to be conducted for three different platform. The student is not required to complete all three parts. The student should complete the part that matches the Computer System/ OS platform they will be using most frequently for this course.

PART I

Tasks to be completed for the windows operating system

Step 2 Locating jdk1.4.1 directories


A sample view of an Installed SDK is shown in this figure:

a. In a windows environment, if the Java2 SDK has been installed properly, the folder for the SDK should be located on Drive C. Instructors may choose to install different versions of the Java2 SDK. If the version number for the SDK is different than that referenced in this lab, use the version installed on your machine. The version should be newer, with a higher number.
2-8 Fundamentals of Java Programming Lab 1.5.1 Copyright 2004, Cisco Systems, Inc.

Locate the JDK1.4.1_02 folder and click on it. If the Java2 SDK has not been installed, ask your instructor for additional information. b. Locate the bin folder and click on it. c. Locate javac.exe. Do not click on this, as this will execute the javac compiler. d. Locate java.exe. Do not click on this as this will execute the java.exe application launcher. e. Locate the docs folder. When the SDK was installed, the documentation that you will be using to access the Java API should be installed in this folder. These are the files you should locate: Folder api, guide, images, relnotes, tooldocs. Inside the api folder should be index-files, java, javax, org folders. You have now verified all of the files required for using the Java2 SDK.

Step 3 Locating the installed BlueJ IDE


A sample view of an installed BlueJ is shown in this figure:

a. BlueJ can be installed in any directory. Check with your instructor to verify the location of the Bluej application. If BlueJ has not been installed, ask you instructor to provide further information. b. Locate the folder for the BlueJ application. c. Verify the folders using the checklist from Step 1.

Step 4 Installing the Javacourse files


Note: Some students may find that these files have been installed on your machine. Check with your instructor before you proceed with this step. a. Obtain a copy of the Javacourse.zip file from your instructor. b. Copy this file to the Drive designated by your instructor. c. Extract all the files and folders from this Zip file, If the file is an exe file, then it will automatically extract into the current directory/folder where you have placed the exe file.

d. Verify the folders for each of the chapters e. Verify the content of the resources folder.

3-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

PART II

Tasks to be completed for the Unix/Linux operating systems

Step 2 Locating jdk1.4.1 directories


A sample view of an Installed SDK is shown in this figure:

f.

In a Linux environment, if the Java2 SDK has been installed properly, the folder for the SDK should be located in users home directory. A common home directory path is /home/username. Instructors may choose to install different versions of the Java2 SDK. If the version number for the SDK is different than that referenced in this lab, use the version installed on your machine. The version should be newer (with a higher number). Locate the JDK1.4.1_02 folder and click on it. If the Java2 SDK has not been installed, ask your instructor for additional information.

g. Locate bin folder and click on it. h. Locate javac.exe. Do not click on this, as this will execute the javac compiler. i. j. Locate java.exe. Do not click on this as this will execute the java.exe application launcher. Locate the docs folder. When the SDK was installed, the documentation that you will be using to access the Java API should be installed in this folder. These are the files you should locate: Folder api, guide, images, relnotes, tooldocs. Inside the api folder should be index-files, java, javax, org folders.

You have now verified all of the files required for using the Java2 SDK.

4-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

Step 3 Locating the installed BlueJ IDE


A sample view of an installed BlueJ is shown in this figure:

d. BlueJ can be installed in any directory. Check with your instructor to verify the location of the Bluej application. If BlueJ has not been installed, ask you instructor to provide further information. e. Locate the folder for the BlueJ application. f. Verify the folders using the checklist from Step 1.

Step 4 Installing the Javacourse files


Note: Some students may find that these files have been installed on your machine. Check with your instructor before you proceed with this step.

Obtain a copy of the Javacourse.zip file from your instructor.


f. Copy this file to the Drive designated by your instructor. g. Extract all the files and folders from this Zip file, If the file is an exe file, then it will automatically extract into the current directory/folder where you have placed the exe file. h. Verify the folders for each of the chapters i. Verify the content of the resources folder.

5-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

PART III

Tasks to be completed for the MAC Operating System

Step 2 Locating jdk1.4.1 directories


A sample view of an Installed JDK is shown in this figure:

a. In a Mac environment, if the Java2 JDK has been installed properly, the folder for the jdk should be located on the hard drive of your Mac. Instructors may choose to install different versions of the Java2 SDK. If the version number for the JDK is different than that referenced in this lab, use the version installed on your machine. The version should be newer, with a higher number. Locate the JDK Tools folder and click on it. If the Java2 JDK has not been installed, ask your instructor for additional information. b. Locate JDK Tools folder and double-click on it.

c.

Locate javac.exe. Do not click on this, as this will execute the javac compiler.

d. Locate javah.exe. Do not click on this as this will execute the java.exe application launcher. e. Locate javadoc.exe. Do not click on this as this will execute the javadoc application. You have now verified all of the files required for using the Java2 SDK.

6-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

Step 3 Locating the installed BlueJ IDE

A sample view of an installed BlueJ is shown in this figure:

g. BlueJ can be installed in any folder. Check with your instructor to verify the location of the BlueJ application. If BlueJ has not been installed, ask you instructor to provide further information. h. Locate the folder for the BlueJ application. i. Verify the folders using the checklist from Step 1.

7-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

Step 4 Installing the Javacourse files


Note: Some students may find that these files have been installed on your machine. Check with your instructor before you proceed with this step.

Obtain a copy of the Javacourse.zip file from your instructor.


j. k. l. Copy this file to the location designated by your instructor. Extract all the files and folders from this Zip file, If the file is an exe file, then it will automatically extract into the current directory/folder where you have placed the exe file. Verify the folders for each of the chapters

m. Verify the content of the resources folder.

8-8

Fundamentals of Java Programming Lab 1.5.1

Copyright 2004, Cisco Systems, Inc.

You might also like