This is an old revision of the document!
Table of Contents
Frequently Asked Questions
Here is the list of the frequently asked questions:
General
Do I need to register for a EECS/CSE Computer Account?
- Yes, we will use PRISM account to submit assignments and also to work on the labs. If you have difficulty setup your account, please consult the Lab Monitor at LAS1006A.
How can I submit my quiz?
I am sick and cannot submit my assignment or attend midterm. What should I do?
- For missed assignments or midterm due to sickness, please send an email to course director stating “inability to write due to sickness”. The weight of the assignment or midterm will be transferred to the final exam.
Where can I find my marks and grades?
- Please use EECS-ePost to find your marks.
How to Download Java and Run a Basic HelloWorld! Application
How to get Java Standard Edition Development Kit (Java SE JDK):
- We simply call it JDK 8 (sometimes refer to as Java 1.8 or Java SE 1.8).
- Decompress the JDK which you have downloaded from Oracle website into a directory (or simply run the installer under Windows).
Java Documentations and a HelloWorld program:
Details for Java Application Programming Interface (Java API):
You need to set environmental variables for your Bash Shell (or Command Prompt in windows).
For windows, each time you open a command prompt you should run the below (or permanently apply via global environmental variables):
SET JAVA_HOME=C:\Program\ Files\Java\your_jdk_directory
SET PATH=%JAVA_HOME%\bin;%PATH%
SET CLASSPATH=.;lib/*
For Unix and Linux systems, each time you open Bash shell you should run the below (or permanently apply via /etc/bash.bashrc):
export JAVA_HOME=/cs/home/your_username/your_jdk_directory
export PATH=${JAVA_HOME}/bin:${PATH}
export CLASSPATH=".:lib/*"
Now create a file called HelloWorldApp.java that has the content below:
public class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } }
- We can compile via running:
javac HelloWorldApp.java
- We can run our program via
java HelloWorldApp
How to Connect Remotely to EECS Servers via SSH?
You can use Putty or MobaXterm to connect to red.cse.yorku.ca
Here is a video on how to use MobaXterm.