1 / 27

CS1101 Using CourseMarker (CM)

CS1101 Using CourseMarker (CM). CM website: http://www.comp.nus.edu.sg/~cmarker Email: cmarker@comp.nus.edu.sg. Before you begin…. CourseMarker (CM) is installed in the PCs in the school’s labs. This document is to help you to install CM in your own computer.

belden
Download Presentation

CS1101 Using CourseMarker (CM)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS1101Using CourseMarker (CM) CM website: http://www.comp.nus.edu.sg/~cmarker Email: cmarker@comp.nus.edu.sg Updated: 30 June 2009

  2. Before you begin… • CourseMarker (CM) is installed in the PCs in the school’s labs. • This document is to help you to install CM in your own computer. • Before you proceed, it is advisable for you to read the FAQs on the CM website: http://www.comp.nus.edu.sg/~cmarker/faq.html • If you encounter problem with the installation, you may post your problem on the IVLE discussion forum, send an email to cmarker@comp.nus.edu.sg, or bring your laptop to the Technical Services counter at COM1 level 1.

  3. Installation (1/3) • Go to the CourseMarker (CM) websitehttp://www.comp.nus.edu.sg/~cmarker/ and click on “Client Setup for CS1101”.

  4. Installation (2/3) • Install the necessary software (such as JDK, etc.) if you need to from this page. • Install CM Client (DrJava included)

  5. Installation (3/3) • Make sure you extract the contents of cmc.zip to C: • Common mistake: Do not create a “CMC” subdirectory yourself. If you do this, another “CMC” subdirectory may be created underneath it. Check this out. Make sure ONLY C:\ is selected, then click Extract

  6. Check Your Installation • After installation, you should see the cmc directory in C: (as shown in the diagram below) • If you open cmcdirectory and see another cmc directory, then you have incorrectly extracted CMC.zip to C:\cmc instead of C:. Move the contents of C:\cmc\cmc into C:\cmc and remove the directory C:\cmc\cmc.

  7. What you should see inside the CMC directory (1/2) • See diagram below GUI Interface cs1101.bat

  8. What you should see inside the CMC directory (2/2) About the “cs1101.bat” file In some PCs, the file extensions are hidden, so the above file may just appear as “cs1101”. You may change your PC setting to show the file extensions if you want to. 8

  9. After Installation • You have completed “Client Setup for CS1101”. • Next, you are to run the CourseMarker client.

  10. Running CourseMarker Client (1/8) • Step 1: Click on cs1101.bat to start the CourseMarker Client (or click “Start”  “Run”, type “C:\cmc\cs1101.bat”) • If you see a window opening and quickly closing without the login screen appearing, please see steps on resolving in the “Troubleshooting” slides at the end of this file. Login Screen

  11. Running CourseMarker Client (2/8) • Step 2: You will be prompted with the login screen. Enter your userid and password. • Your CourseMarker password has been sent to your NUSNET account. If you have not received it, please email cmarker@comp.nus.edu.sg Login Screen

  12. Running CourseMarker Client (3/8) • Step 3: You are now in the CourseMarker environment.

  13. Running CourseMarker Client (4/8) • Step 4: You should proceed to choose the lab exercise you are doing. Select lab exercise

  14. Running CourseMarker Client (5/8) • Step 5: Select the lab, and click Setup. This will download the lab exercise from the CM Server. Click Setup only once for each lab exercise! b. Click Setup to download the lab exercise a. Select the lab exercise

  15. Running CourseMarker Client (6/8) • Step 6: You can now proceed to develop your Java code. Click on Develop button. This will open the DrJava IDE.

  16. Running CourseMarker Client (7/8) • Step 7: Once you have compiled and tested your program in DrJava, you can proceed to submit using the CM Client. Submit Button is now Enabled. Click on it to submit.

  17. Running CourseMarker Client (8/8) • Step 8: Clicking on Submit will send your lab submission to the CM Server. c. Click close a. Client will show you the number of submissions you have done so far. b. It will also show you the result of your submission.

  18. CM feedback • You may ignore feedback from “Typographic Tool”. Your discussion leader will manually go through your program and give you feedback. • See “This CS1101 Handy Handbook” for explanation.

  19. Where are your programs stored? • Your programs are stored in… • H:\CMhome\cs1101\studentArea\ if you are using the PC in school’s lab; or • C:\CMhome\cs1101\studentArea\ if you are using your own PC or notebook. • Knowing the above, you can prepare your programs at home and transfer them into the right directory in the school’s PC to submit to CM, if you have problem submitting at home.

  20. Well done! • Congratulations, you have just completed your lab submission! • Please read http://www.comp.nus.edu.sg/~cs1101/3_ca/labs.htmlfor further information • Please read the FAQs at http://www.comp.nus.edu.sg/~cmarker/faq.html • If you have any queries, please post in the CS1101 IVLE forum, or email cmarker@comp.nus.edu.sg

  21. Troubleshooting (1) • Symptom: After double clicking a window appears and quickly closes without anything happening • Solution: First open cmd, by click on Start, Run, cmd

  22. Troubleshooting (1a) • Symptom: After double clicking a window appears and quickly closes without anything happening • Solution: Then type cs1101, you should see a long list. Scroll back up to the location where you see the line md H:\CMhome\cs1101.

  23. Troubleshooting (1a) • To resolve, open cs1101.bat with an editor (such as notepad) Change H: to C:

  24. Troubleshooting (1b) • Symptom: After double clicking a window appears and quickly closes without anything happening • Solution: Then type cs1101, you should see a long list. Scroll back up to the location where you see the line C:\jdk1.6\bin\java ….

  25. Troubleshooting (1b) • That problem was caused because your Java compiler is NOT found in C:\jdk1.6\bin (you didn’t install it in C:\jdk1.6) • Locate the jdk1.6 (NOT jre1.6) ! • It is installed in C:\Program Files\Java\jdk1.6.0_14\bin by default

  26. Troubleshooting (1b) • To resolve, open cs1101.bat with an editor (such as notepad) Change C:\jdk1.6 to “C:\Program Files\Java\jdk1.6.0_14” Make sure you include the quotes!

  27. End of file

More Related