Create a folder named Project01.
In the folder Project01, create four separate
files (with .java extensions) that solve the following homework problems:
Lesson 2 Exercises 1 and 2
Lesson 3 Exercises 2 and 3
Electronically submit your folder Project01 (use the submit command). First,
you may need to set up SecureCRT.
Setting up SecureCRT (You will only need to do this step once)
- On the Windows desktop you should see an icon named SecureCRT 3.4.
Double click
it.
- You may see a message stating that "This is the first time that you have
run SecureCRT. ..."
- Click the "OK" box.
- You may then see another box stating "SecureCRT is not currently your
default
telnet application. ..."
- Uncheck the box for "Always perform this check when starting SecureCRT."
- Then Click Yes.
- In the Quick Connect box that appears, there are some fields already set
for you, such as
protocol: ssh2
port:22
Do not change any preset field.
- Type "hp.cs.uiowa.edu" in the hostname box (do not type the double
quotes).
- Type your UNIX username in the username box
- Make sure the "save session" checkbox IS checked
- Then click OK. (After that "hp.cs.uiowa.edu" will be among the choices
you
will have when you are asked to pick a session.).
- In the next box that appears, click Accept & Save.
- In the "Enter Password Box" that appears, enter your UNIX password AND
check the "Remember my password" check box.
- Then Click the "OK" box.
- You should see a UNIX prompt.
- Type "exit" at the UNIX prompt.
- Close the SecureCRT window to quit that application..
Submit Directions
- On the Windows desktop you should see an icon named SecureCRT 3.4.
Double click
it. If the "Connect box" appears, double click "hp.cs.uiowa.edu". If a
dialog box comes up, click Accept & Save.
- At the UNIX prompt (% ), type "cd JCreator" followed by a carriage
return (do not type
the quotes).
- At the UNIX prompt, type "mkdir Project01" followed by a return (again
without
the quotes).
- At the next UNIX prompt, type "cp file.java Project01" where file.java
is replaced by
one of the four .java files you created as part of the first project
assignment.
- Repeat the previous step for the other three .java files.
- What the previous three steps accomplish is to set up a folder (called
Project01)
that contains the four .java files required by the first assignment.
- Type "submit" followed by a carriage return at the UNIX prompt.
- You will be prompted to enter the file/ directory you want to submit.
- Type Project01.
- You will be again prompted to enter a file/directory name. If you
have nothing else to submit, just press enter.
- You will then be prompted to enter the course number. Type c016.
- You will be prompted to enter the folder to which you want to submit.
The folders are named after the time of the discussion sections.
There will be 7 folders named 830, 930, 1030, 130, 230, 330, 430.
For example, if you are in the 8:30am discussion section, type 830 and press
enter.
- You will see a message saying that your folder/file is submitted.
- Type "exit" at the UNIX prompt.
- Close the SecureCRT window to quit that application.