2023 SPRING CMPINF 401 LAB #0.
ALWAYS BRING LAPTOP TO LABS/RECITATIONS
Watch the HowToHandin video
-
Install a text editor so you can edit .java files.
For Windows folks we strongly recommend Notepad++ or TextPad or atom or vscode
For MAC we recommend TextWrangler atom or vscode
-
Install the Java Development Kit (i.e. java VM/platform/compiler)
For Windows/MAC/Linux/YeetOS: ADOPTIUM
-
Test editor + JDK installation by compiling/executing from COMMAND/TERMINAL window
Download this file to your desktop: Lab0.java
-
Leader will demonstrate and step you thru the following:
open up a COMMAND or TERMINAL window on youe WIN or MAC machine respectively
for your reference, a windows command line tutorial
for your reference, a MAC OSX command line tutorial
navigate to the desktop on you WIN or MAC machine.
If desktop virtualized (on one drive/cloud) pick some other real directory to work in.
shell/terminal commands: cd cd .. mkdir rmdir rm/del, ls/dir, cat/type
on you WIN or MAC machine.
java compilation: $ javac Lab0.java
and check the local directory for Lab0.class
java execution: $ java Lab0
-
Install either VPN -or- Virtual Labs Desktop Client. You need one of these to handin from off-campus
VPN instructions
VL Video Tutorial
Your leader will assist you with VNP or VL whichever you choose
-
Attempt to HANDIN your Lab0.java file
A video tutorial on HOW TO HANDIN
Your leader will demonstrate on the board and assist you