Comp 170-201 -- Dordal/Habicht -- Lab 1, Wed, August 28, 2002 You are to: 1. log in 2. run CSMOUNT to attach your CS dept disk space 3. find your home folder 4. launch BlueJ 5. create a new project 6. create a java class 7. edit your class so it prints something 8. compile your program 9. Fix any errors 10. run it 1. To log in, you need three things: your Loyola-issued "UVID", your password, and time. Login is a slow process. You may need to change the "context" entry in the "advanced" section of the login screen; we'll try to help with this. 2. To run CSMOUNT, first start a DOS window (from Start=>Programs). In this window, type CSMOUNT, and it will prompt you for your *CS* username (I have a list) and your CS password (normally nXXXXXX, where the n is the letter 'n' and the X's are the last 6 digits of your P-ID. Note that CSMOUNT only works on-campus. If you're doing this at home, use any folder you can keep track of for storing your projects. If you're on-campus and CSMOUNT fails, you can create a folder in C:\temp, but it will be deleted when you log off; you should copy essential files to a floppy first. Or you can create your work folder on a floppy, but that is quite slow. 3. If CSMOUNT runs successfully, you should now have a network drive mounted that includes a folder that is your home directory. Find it. 4. Launch BlueJ, from Start => LoyolaSoftware => Compilers, or something like that. 5. Within BlueJ, create a new project. 6. To add a class to your new project, use the New Class button. You will be prompted for a name; Helloworld is one possibility. By convention, the first letter of class names is capitalized. The "Class Type" should be "Class". 7. Once the new class has appeared, double-click on it to edit it. Add a function as follows: public static void main(String[] args) { } Put this wherever you want, except don't put it in the middle of another declaration. That is, don't put it in between some other function's '{' and '}'. Hint: find a blank line, and put it there. Now add some System.out.println statements to the body of main(): System.out.println("Hello, world!"); 8. Click on "compile" 9. If you can't decipher an error message, ask! 10. Show Peter or Peter the output; there is no other submission project. If you do this on your own, show one of us a floppy disk of your project files.