faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2016/04/11 04:18] – navid | faq [2016/05/29 01:45] (current) – navid | ||
---|---|---|---|
Line 5: | Line 5: | ||
====== General ====== | ====== General ====== | ||
- | ===== Do I need to register | + | ===== Do I need to Register |
- | *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. | + | *Yes, we will use PRISM account to submit assignments and also to work on the labs. Please use [[https:// |
- | ===== How can I submit my assignments? ===== | + | ===== How Should |
* Please use [[https:// | * Please use [[https:// | ||
* Here is [[http:// | * Here is [[http:// | ||
+ | * For Quizzes you should use command line to submit your saved Java files. Here is sample command to submit my_file.java for Quiz1 (e.g. Q1): < | ||
- | ===== I am sick and cannot submit my assignment | + | ===== I am Sick and Cannot Submit My Assignment |
*For missed assignments or midterm due to sickness, please send an email to course director stating " | *For missed assignments or midterm due to sickness, please send an email to course director stating " | ||
+ | |||
+ | ===== Where Can I Find My Marks and Grades? ===== | ||
+ | *Please use [[https:// | ||
+ | |||
+ | |||
+ | ===== How to Download Java and Run a Basic HelloWorld! Application ===== | ||
+ | |||
+ | How to get Java Standard Edition Development Kit (Java SE JDK): | ||
+ | * http:// | ||
+ | *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: | ||
+ | *http:// | ||
+ | *http:// | ||
+ | |||
+ | Details for Java Application Programming Interface (Java API): | ||
+ | *http:// | ||
+ | |||
+ | |||
+ | 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: | ||
+ | SET PATH=%JAVA_HOME%\bin; | ||
+ | SET CLASSPATH=.; | ||
+ | </ | ||
+ | |||
+ | For Unix and Linux systems, each time you open Bash shell you should run the below (or permanently apply via / | ||
+ | < | ||
+ | export JAVA_HOME=/ | ||
+ | export PATH=${JAVA_HOME}/ | ||
+ | export CLASSPATH=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | If you are using EECS PRISM Lab, you can simply run the below commands to setup your environment | ||
+ | < | ||
+ | cd ~ | ||
+ | touch .tcshrc | ||
+ | touch .bashrc | ||
+ | touch ~/.tcshrc | ||
+ | touch ~/.bashrc | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | chmod +x ~/.tcshrc | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | echo ' | ||
+ | chmod +x ~/.bashrc | ||
+ | </ | ||
+ | |||
+ | Now create a file called HelloWorldApp.java that has the content below: | ||
+ | |||
+ | < | ||
+ | public class HelloWorldApp { | ||
+ | public static void main(String[] args) { | ||
+ | System.out.println(" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | * We can compile via running: < | ||
+ | * We can run our program via < | ||
+ | |||
+ | |||
+ | |||
+ | ===== How to Connect Remotely to EECS Servers via SSH? ===== | ||
+ | |||
+ | SFTP/SSH server: red.cse.yorku.ca | ||
+ | |||
+ | You don't always need to be in the PRISM lab to work on your assignments. Working on your own computer is convenient if the lab is busy, closed, or if you live far from the University. To do so, you must first install software on your computer. Which software you install depends on how you wish to work. | ||
+ | |||
+ | You can use [[http:// | ||
+ | |||
+ | Here is a [[https:// | ||
+ | |||
+ | ===== How to Setup My Own Development Environment? | ||
+ | |||
+ | You can choose from many available Integrated Development Environments (IDEs). Here is a [[https:// | ||
+ | |||
+ | |||
+ | ===== Basic Shell Commands | ||
+ | |||
+ | We will cover Unix [[https:// | ||
+ | |||
+ | ===== What is the Path to Eclipse in RED.CSE.YORKU.CA? | ||
+ | */ | ||
faq.1460348306.txt.gz · Last modified: 2016/04/11 04:18 by navid