COMP 248 Winter Tutorial 1

Similar documents
How to use the Eclipse IDE for Java Application Development

Eclipse installation, configuration and operation

Java Software Development Kit (JDK 5.0 Update 14) Installation Step by Step Instructions

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Installing Eclipse C++ for Windows

Getting Started with Android Development

Installing (1.8.7) 9/2/ Installing jgrasp

Java Programming Unit 1. Your first Java Program Eclipse IDE

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Installing the Android SDK

A Short Introduction to Writing Java Code. Zoltán Majó

How to Install Eclipse. Windows

Installing Java (Windows) and Writing your First Program

WA Continuous Integration with Jenkins- CI, Maven and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

Java with Eclipse: Setup & Getting Started

Supplement I.B: Installing and Configuring JDK 1.6

Installing Java. Table of contents

Supplement I.B: Installing and Configuring JDK 1.6

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Android Environment SDK

Appendix A Using the Java Compiler

Application Development Setup Guide

SETTING UP YOUR JAVA DEVELOPER ENVIRONMENT

Building OWASP ZAP Using Eclipse IDE

Supplement I.C. Creating, Compiling and Running Java Programs from the Command Window

Mesa DMS. Once you access the Mesa Document Management link, you will see the following Mesa DMS - Microsoft Internet Explorer" window:

Practice Fusion API Client Installation Guide for Windows

Informatics for Integrating Biology & the Bedside. i2b2 Workbench Developer s Guide. Document Version: 1.0 i2b2 Software Release: 1.3.

IN STA LLIN G A VA LA N C HE REMOTE C O N TROL 4. 1

BushSoft Accounts - Installation manual

Oracle. Getting Started with Database Mobile Server (DMS) Release: 11.3

Android Development Setup [Revision Date: 02/16/11]

How to Install Java onto your system

1) SETUP ANDROID STUDIO

IRF2000 IWL3000 SRC1000 Application Note - Develop your own Apps with OSGi - getting started

Fahim Uddin 1. Java SDK

1001ICT Introduction To Programming Lecture Notes

TUTORIAL ECLIPSE CLASSIC VERSION: ON SETTING UP OPENERP 6.1 SOURCE CODE UNDER WINDOWS PLATFORM. by Pir Khurram Rashdi

To begin, visit this URL:

Setting up Sudoku example on Android Studio

Java Language Tools COPYRIGHTED MATERIAL. Part 1. In this part...

PowerPanel Business Edition Installation Guide

Code Estimation Tools Directions for a Services Engagement

Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us

Offline Android Installer

Lab 0 (Setting up your Development Environment) Week 1

Android Environment SDK

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

POOSL IDE Installation Manual

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

3. Installation and Configuration. 3.1 Java Development Kit (JDK)

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

Compiere 3.2 Installation Instructions Windows System - Oracle Database

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Eclipse with Mac OSX Getting Started Selecting Your Workspace. Creating a Project.

Setting Up a Windows Virtual Machine for SANS FOR526

CYCLOPE let s talk productivity

Hadoop Tutorial. General Instructions

WA1742 Architecting SOA Using Open Source Mule Edition. Classroom Setup Guide. Web Age Solutions Inc. 1 01/28/09

Signiant Agent installation

LAB 1. Familiarization of Rational Rose Environment And UML for small Java Application Development

Installing C++ compiler for CSc212 Data Structures

CSA Software Listing Table of Contents. Both Windows and Mac platforms are supported.

Mirtrak 6 Powered by Cyclope

Setting up FileMaker 10 Server

Bulk Downloader. Call Recording: Bulk Downloader

GETTING STARTED WITH FLEXI-CLOUD

Introduction to Eclipse

A10 Writing Your First Application

Secure Browser Installation Manual

Installation Guide. Research Computing Team V1.9 RESTRICTED

Using the Remote Desktop Portal

With this document you will be able to download and install all of the components needed for a full installation of PCRASTER for windows.

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

FlexSim LAN License Server

NAS 253 Introduction to Backup Plan

Internet Address: cloud.ndcl.org

BRIC VPN Setup Instructions

Upgrading Your Web Server from ClientBase Browser Version 2.0 or Above to Version 2.1.1

Mac OS X. Staff members using NEIU issued laptops and computers on Active Directory can access NEIU resources that are available on the wired network.

Livezilla How to Install on Shared Hosting By: Jon Manning

Canto Integration Platform (CIP)

Using the Remote Desktop Portal

Instructions to connect to GRCC Remote Access using a Macintosh computer

Working With Your FTP Site

EMC Documentum Composer

This manual provides information and instructions for Mac SharePoint Users at Fermilab. Using Sharepoint from a Mac: Terminal Server Instructions

DocAve Upgrade Guide. From Version 4.1 to 4.5

Download and Install the Citrix Receiver for Mac/Linux

IDS 561 Big data analytics Assignment 1

Lab 0: Preparing your laptop for the course OS X

Web Testing, Java Testing, Server Monitoring. AppPerfect Installation Guide

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

Quick Installation Guide

How To Encrypt A Traveltrax Report On Gpg On A Pc Or Mac Or Mac (For A Free Download) On A Thumbdrive Or Ipad Or Ipa (For Free) On Pc Or Ipo (For An Ipo)

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

CafePilot has 3 components: the Client, Server and Service Request Monitor (or SRM for short).

Upgrade Guide BES12. Version 12.1

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

Transcription:

COMP 248 Winter 2016 Tutorial 1

Getting started in the lab Get your computer account from ENCS help desk (H-960) Note that computer science students will keep their account throughout their studies; but non-computer science students will have their account closed at the end of the semester. Login using your user account and password, and change your password from the ENCS helpdesk website: https://fis.encs.concordia.ca/helpdesk-cgi/chown-pwd.cgi 2

Java Installation Download Java (Java SE 8u25) For Windows and Linux, visit the website: http://www.oracle.com/technetwork/java/javase/downl oads/index.html (This is not needed for Mac OS X, since it is already built in). Select Download JDK and JRE for windows platform. (On Windows, you will need admin privileges.). Once the download is complete, install java by clicking on the file you downloaded. This will lead you through the installation process. Check the following website if you do not know whether the OS of your machine is 64 or 32 bits http://www.stata.com/support/faqs/windows/64-bitcompliance/ 3

Download and install Java 4

Download and install Java 5

Path Configuration Right click on MyComputer Properties Advanced Environment Variables Select PATH Edit 6

Path Configuration Add the path ;C:\Program Files\Java\jdk1.7.0\bi n at the place of highlighted line Press Ok Redo the same for Path in System variables 7

Check if JDK is Installed Properly! 8

Compile and Run a Java Program There are two ways to compile and run a Java program: Using command line Through a Development Editor like Eclipse 9

Example of Java program Hello World Application Note, the java file must be named as HelloWorld.java public class HelloWorld { public static void main(string[] args) { System.out.println( Hello World! ); } } 10

Running Java Program Using Command Line Write a Java program using any editor (i.e. expl, Notepad) and save it as (FileName.java) file with the same name as the class. Go to the directory where you created your program using the command line Compile the java file using the following command line: > javac FileName.java The above command line will compile the program and create FileName.class file, if there are no errors in the program Run the file using the following command line: > java filename 11

Running Java Program Using Command Line 12

Download Eclipse To download Eclipse visit the web page http://www.eclipse.org/downloads/index.php You may select any mirror site, e.g. "Main Eclipse Download Site". There are several versions of Eclipse, and it is important you install the correct one. Check that the site has the latest 13

Download Eclipse Click on the Link 14

Download Eclipse Select your platform 15

Download Eclipse 16

Download Eclipse 17

Download Eclipse 18

Eclipse Installation Unlike most modern software products, Eclipse has not have a fancy installation procedure. To install it, simply extract the zip file in the directory where your programs are stored, e.g. C:\Program Files. This will create a directory named eclipse. The executable program file is located in this directory and is called "eclipse.exe". On Windows systems, it is a good idea to create a shortcut to this executable on your desktop. To do this, right-click on the "eclipse.exe" file and select "Send To Desktop". 19

Eclipse Installation Extract the eclipse folder to your preferred destination 20

Eclipse Installation Open the folder and run eclipse.exe 21

Eclipse Initialization Eclipse stores all its files in a directory called it "workspace". When Eclipse is running for the first time, it will ask you where you want the workspace to be placed. You can just use the default location (which will be in the directory where eclipse was installed). Some people find it more convenient to place the workspace somewhere in their "My Documents" directory, e.g. "My Documents\Eclipse". After this, you should see the "Welcome to Eclipse" page. When you see this, you are ready to proceed to the next step. 22

Eclipse Initialization 23

Using Eclipse the first time 24

Create a Java Project This is always how to create a new Java Project 25

Create a Java Project 26

Create a Java Project The project s name is what you called it 27

Create a new Java class src stands for source code This is the way to create new Java Classes 28

Create a new Java class 29

Run a Java program 30

Submission of Assignments and Lab Exercices Go to the EAS system website @ https://fis.encs.concordia.ca/eas/ Login with your ENCS username and password Click on the "Student" category You would expect to see a list of courses you are currently taking Scroll down and you will see "Expectations of originality, select "I agree" and continue For "Current term course sections, choose COMP248 for this course Browse your compressed file (containing your Java files) To submit an assignment: select the "submission type" as "programming_assignment" To submit a lab exercises, select the "submission type" as quiz 31

How to compress files Location of your new Java Classes 32

How to compress files 33

How to compress files Remember you only need to submit the java files 34

Assignment submission Caution --- For "submission number," please be sure to select accordingly assignment #1, please select "1" assignment #2, please select "2" assignment #3, please select "3" etc. 35