Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPSC 233 Tutorial 01 & 05 Jan 19 Edwin Chan. ■“Office”: ICT 524 –Please me ■Continuous Tutorial: Thursdays, 12-2PM (outside MS.

Similar presentations


Presentation on theme: "CPSC 233 Tutorial 01 & 05 Jan 19 Edwin Chan. ■“Office”: ICT 524 –Please me ■Continuous Tutorial: Thursdays, 12-2PM (outside MS."— Presentation transcript:

1 CPSC 233 Tutorial 01 & 05 Jan 19 Edwin Chan

2 ■chane@ucalgary.ca ■“Office”: ICT 524 –Please email me ■Continuous Tutorial: Thursdays, 12-2PM (outside MS labs help desk)

3 Orientation ■Computer Science UNIX accounts –This is different from your UCIT account (for Windows computers) –Bring your student ID to the Help Desk (MS 151) ■Computer labs, printing, handing in assignments (new students) –Questions? Talk to me after class, or email me.

4 How to get started ■Method 1: Use school servers, do everything there in UNIX. ■Method 2: Use an IDE like Eclipse.

5 Method 1: UNIX ■Find any UNIX computer in the undergraduate lab (not Windows!) ■Login with your Computer Science UNIX account ■PROFIT. (we’ll get back to this later)

6 Method 1: UNIX (remote access) ■Get an SSH client –I use PuTTY for Windows (http://www.putty.org/)http://www.putty.org/ ■If you prefer, you can also get a GUI (Graphical User Interface) for transferring files –I use WinSCP for Windows (https://winscp.net)https://winscp.net ■More instructions will be posted to my website (http://edwinckc.com/teaching)http://edwinckc.com/teaching

7 Method 2: Use an IDE ■At school, the Windows workstations should have Eclipse installed ■At home, you will need to download two things: –JDK (Java Development Kit) ■Download it here: http://www.oracle.com/technetwork/java/javase/downloads/index.html http://www.oracle.com/technetwork/java/javase/downloads/index.html ■x86/x64, get the one that matches your computer –The IDE (Eclipse) ■https://eclipse.org/downloads/

8 Problems? ■Email me (chane@ucalgary.ca) ■CT hours: Thursdays, 12-2PM, beside MS Help Desk (MS151)

9 Exercise (1/2) ■Java documentation: http://docs.oracle.com/javase/8/docshttp://docs.oracle.com/javase/8/docs ■File Welcome.java 1. import java.awt.Graphics; 2. import java.applet.Applet; 3. 4. public class Welcome extends Applet { 5. public void paint(Graphics g) { 6. g.drawstring(“Welcome to Java!”, 25, 25); 7. } 8. }

10 Exercise (2/2) ■File Welcome.html 1. 2. 3. 4. ■appletviewer Welcome.html


Download ppt "CPSC 233 Tutorial 01 & 05 Jan 19 Edwin Chan. ■“Office”: ICT 524 –Please me ■Continuous Tutorial: Thursdays, 12-2PM (outside MS."

Similar presentations


Ads by Google