User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [2016/05/07 04:15] navidfaq [2016/05/29 01:45] (current) navid
Line 7: Line 7:
 ===== Do I need to Register for a EECS/CSE Computer Account? ===== ===== 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.+  *Yes, we will use PRISM account to submit assignments and also to work on the labs. Please use [[https://webapp.eecs.yorku.ca/activ8|this link to setup your account]]. If you have difficulty setup your account, please consult the Lab Monitor at LAS1006A (make sure you have your [[http://mms.yorku.ca|Passport York]] setup and YorkU Student Card ready)
  
 ===== How Should I Submit My Quiz? ===== ===== How Should I Submit My Quiz? =====
Line 41: Line 41:
  
 For windows, each time you open a command prompt you should run the below (or permanently apply via global environmental variables): For windows, each time you open a command prompt you should run the below (or permanently apply via global environmental variables):
-  *<code>SET JAVA_HOME=C:\Program\ Files\Java\your_jdk_directory</code> +  <code> 
-  *<code>SET PATH=%JAVA_HOME%\bin;%PATH%</code> +  SET JAVA_HOME=C:\Program\ Files\Java\your_jdk_directory 
-  *<code>SET CLASSPATH=.;lib/*</code>+  SET PATH=%JAVA_HOME%\bin;%PATH% 
 +  SET CLASSPATH=.;lib/* 
 +  </code>
  
 For Unix and Linux systems, each time you open Bash shell you should run the below (or permanently apply via /etc/bash.bashrc): For Unix and Linux systems, each time you open Bash shell you should run the below (or permanently apply via /etc/bash.bashrc):
-  *<code>export JAVA_HOME=/cs/home/your_username/your_jdk_directory</code> +  <code> 
-  *<code>export PATH=${JAVA_HOME}/bin:${PATH}</code> +  export JAVA_HOME=/cs/home/your_username/your_jdk_directory 
-  *<code>export CLASSPATH=".:lib/*"</code>+  export PATH=${JAVA_HOME}/bin:${PATH} 
 +  export CLASSPATH=".:lib/*" 
 +  </code>
  
 +
 +If you are using EECS PRISM Lab, you can simply run the below commands to setup your environment 
 +<code>
 +cd ~
 +touch .tcshrc
 +touch .bashrc
 +touch ~/.tcshrc
 +touch ~/.bashrc
 +echo 'setenv JAVA_HOME /eecs/local/pkg/jdk-1.8.0_91' >> ~/.tcshrc
 +echo 'setenv GRADLE_HOME /eecs/local/pkg/gradle-2.13' >> ~/.tcshrc
 +echo 'setenv PATH ${JAVA_HOME}/bin:${GRADLE_HOME}/bin:${PATH}' >> ~/.tcshrc
 +echo 'setenv CLASSPATH ".:lib/*"' >> ~/.tcshrc
 +chmod +x ~/.tcshrc
 +echo 'export JAVA_HOME=/eecs/local/pkg/jdk-1.8.0_91' >> .bashrc
 +echo 'export GRADLE_HOME=/eecs/local/pkg/gradle-2.13' >> .bashrc
 +echo 'export PATH=${JAVA_HOME}/bin:${GRADLE_HOME}/bin:${PATH}' >> .bashrc
 +echo 'export CLASSPATH=".:lib/*"' >> .bashrc
 +chmod +x ~/.bashrc
 +</code>
  
 Now create a file called HelloWorldApp.java that has the content below: Now create a file called HelloWorldApp.java that has the content below:
-  *<code>+ 
 +<code>
 public class HelloWorldApp { public class HelloWorldApp {
     public static void main(String[] args) {     public static void main(String[] args) {
Line 66: Line 90:
  
 ===== How to Connect Remotely to EECS Servers via SSH? ===== ===== 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://www.chiark.greenend.org.uk/~sgtatham/putty/|Putty]] or [[http://mobaxterm.mobatek.net/download.html|MobaXterm]] to connect to red.cse.yorku.ca You can use [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|Putty]] or [[http://mobaxterm.mobatek.net/download.html|MobaXterm]] to connect to red.cse.yorku.ca
Line 74: Line 102:
  
 You can choose from many available Integrated Development Environments (IDEs). Here is a [[https://www.youtube.com/watch?v=2CFufshk86I|video]] explaining [[https://www.jetbrains.com/idea/download/|IntelliJ]]     You can choose from many available Integrated Development Environments (IDEs). Here is a [[https://www.youtube.com/watch?v=2CFufshk86I|video]] explaining [[https://www.jetbrains.com/idea/download/|IntelliJ]]    
 +
 +
 +===== Basic Shell Commands  =====
 +
 +We will cover Unix [[https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29|Shells]] in details for EECS2031, however here is a quick  [[http://lifehacker.com/5633909/who-needs-a-mouse-learn-to-use-the-command-line-for-almost-anything|primer.]] and [[http://cli.learncodethehardway.org/bash_cheat_sheet.pdf|here]] is a more advanced version.
 +
 +===== What is the Path to Eclipse in RED.CSE.YORKU.CA?  =====
 +  */cs/local/bin/eclipse
  
faq.1462594520.txt.gz · Last modified: 2016/05/07 04:15 by navid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki