Hitchhiker’s Guide to CSLee Sieger, Tim Cook, Jason Day, Zuozhi Yang
Launching DrJava from Windows LabOpen My Computer from Start
MenuClick on \\labserv\pclab driveClick on CS111 folderClick on drjava.bat
This should mount the CS drive in your file explorer and also launch DrJava
MobaXtermInstall free version from…http://mobaxterm.mobatek.net/download.html
On lab computers, can be found under the Computer Science folder in All Programs in the start menu
Click on Session Button
Click on SSH button at top right of window
For Remote Host put…
gbcs#.cc.gettysburg.edu
where # is some number from 1 to 18…Click on specify username and enter
college usernameChange port to 222Click on OK and enter password
when prompted
Mounting CS Drive1. From the Start menu choose
Computer.2. In the Computer window there is a
“Map Network Drive” link near the top.3. Enter \\ada.cc.gettysburg.edu\
<username> in the box and select a drive letter. Replace <username> with your username.
4. Uncheck “Reconnect at Logon”.5. Hit OK. A window should magically
appear containing your files.
Secure Shellssh
◦Hosts: gbcsN.cc.gettysburg.edu N=1..22
◦Port: 222
Commands:◦ssh gbcs3.cc.gettysburg.edu –p 222
–l user◦ssh
Hello World Diff (Python File)Open geditType…
print("Hello World")Save file as helloworld.py
Hello World Diff (Java File)Open drjavaType…public class HelloWorld
{ public static void main(String[] args) { System.out.println("Hello World"); } }
Save file as HelloWorld.java
Testing DiffRun the following in the terminal..
python helloworld.py > helloworld_out.txtjava HelloWorld > HelloWorld_out.txtdiff helloworld_out.txt HelloWorld_out.txt
This will test to see if each programs output is the same