Tutorial 1 Introduction to Java Programming Bo Chen Department of Computer Science.

Slides:



Advertisements
Similar presentations
Introduction to Java IEEM241 Routing and Fleet Management Feb 3, 2005.
Advertisements

11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Slide 1 of 40. Lecture A The Java Programming Language Invented 1995 by James Gosling at Sun Microsystems. Based on previous languages: C, C++, Objective-C,
Update the PATH variable Trying to run the command: “javac Ex1.java” you’ve may encountered the error: “javac is not recognized as internal or external.
CSCI Spring '07© 2007 JW Ryder1 Week 2 Material  Install and Configure  Mindstorms NXT Software and User Guide  LeJOS NXJ Alpha  Java.
Introduction to Java.
NetBeans IDE Downloading and Installation Guide. Downloading NetBeans IDE Installation Setup.
CS0007: Introduction to Computer Programming Setting Up Java.
SERVLETS.
CSE 131 Computer Science 1 Module 1: (basics of Java)
IB Computer Science II Paul Bui
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Introduction to Python Dr. Bernard Chen Ph.D. University of Central Arkansas July 9 th 2012
Java 程序设计 Java Programming Fall, Contents for Today Java Program Structure  How to Compile a Java Program  How to Run a Java Program Environment.
Set up the Environment for leJOS NXJ. Required Software Software –JDK 1.6 –leJOS NXJ –USB driver for NXT Mindstorm nxt USB driver Libusb MMN Lab.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Tutorial 1. Q1: Compare and contrast between multiprocessors and multicore Multicore – Dual-core processor has two cores (e.g. AMD Phenom II X2, Intel.
CSI 1390: Introduction to Computers TA: Tapu Kumar Ghose Office: STE 5014
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
Java TA Session 1. Software Java Runtime Environment (JRE) java.exe Java Development Kit (JDK) java.exe, javac.exe Version 1.6 = Version 6, Version 1.7.
Java ACO101: Introduction to Computer Science. The History of Java Started out as a research project at Sun Microsystems in 1991 Code named “Green” Based.
Java and C# [this is a bonus – it is not a required lesson] ACO101: Introduction to Computer Science.
POS 406 Java Technology And Beginning Java Code
( ) 1 ISYE 7210—Fall 2005 Design of Real-Time Interactive Simulations (in Java) Initial Notes Christine M. Mitchell Director & Professor Center for.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Java Programming Presented by Daniel Rosenthal Friday, November 30 th, 2007.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
4-Nov-15 Air Force Institute of Technology Electrical and Computer Engineering Object-Oriented Programming Design Topic 1: The Java Environment Maj Joel.
CS Software Studio Java Lab 1 Meng-Ting Wang PLLAB, Computer Science Department, National Tsing-Hua University.
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
Lecture.1: Getting Started With Java Jiang (Jen) ZHENG May 9 th, 2005.
Welcome to java installation. After download java software, assuming you downloaded jdk1.7.0_11 Follow the procedure bellow to install java.
The 1 st and 2 nd tutoring session of CSc2310 Fall, 2012 Haidong Xue.
Installing JDK Vijayan Sugumaran Department of DIS Oakland University.
Getting Started.
 Instructor: Dr. Jason Nichols –  Office Hours: – 9:30-10:30 M/W/F or by appointment – Business Building.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
DOS and the Command Line CS 21a: Introduction to Computing I First Semester,
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Installing SPHINX by: COLLEGE OF ART & SCIENCE UNIVERSITI UTARA MALAYSIA STIW5023 ADVANCED PROGRAMMING.
How to Run Java Applications using the Windows Command Prompt. Julian Falasca May 11 th, 2010 ENGL 393.
CS7 Recitation Cem Akkaya. Outline  Homework-0 in detail  Useful links and tools  Setting up your java environment.
Hitchhiker’s Guide to CS Lee Sieger, Tim Cook, Jason Day, Zuozhi Yang.
Installing and Configuring Tomcat SSE. Downloading Tomcat l Download url: 4.0/release/v4.1.24/bin/
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
3/5/2002e-business and Information Systems1 Java Java Java Virtual Machine (JVM) Java Application Program Interface (API) HW Kernel API Application Programs.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
Programming Fundamentals I Java Programming Spring 2009 XuanTung Hoang Lab 01.
How to install JavaCV in Eclipse. Make sure to download and install all these before you proceed Eclipse for Java EE developers (current is Juno)
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
박 유 진.  IDE(Integrate Development Environment)  ECLIPSE Consortium  IBM, RedHat, METANT, QNX Software System etc…  Open Source Platform  Based JAVA.
Computer Science I Lab 1 ISMAIL ABUMUHFOUZ | CS 180.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
Tips for using Java with Internet Explorer
Introduction of Java Fikri Fadlillah, S.T.
Object Oriented Programming (OOP)
CS210 Intermediate Computing with Data Structures (Java)
Introduction to Java Import Scanner class to use in our program
Chapter No. : 1 Introduction to Java.
Installing and running the local check projects in Eclipse
How to Run a Java Program
Run Java file with Window cmd
How to Run a Java Program
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
IB Computer Science II Paul Bui
Presentation transcript:

Tutorial 1 Introduction to Java Programming Bo Chen Department of Computer Science

Login your computer Using your NJIT UCID to login your computer Note: UCID is very important during your college life, don’t forget it or disclose it to somebody else. If you don’t know your UCID, refer to Computing Helpdesk or

Set up java development environment Note: java development environment should have been set up in lab computers, there is no need for you to install it in lab computer again. You can install it to your laptop. Download jdk1.6 from sun website Note:You can download it from njit software, but that version is too old. Choose Java SE Development Kit Note: jre1.6 is included in jdk1.6

Set up java development environment Install it by simply clicking note: I would not show this, since it would require a lot of time Configure the running environment for jdk settings->control panel->system->advanced ->environment variables->system variables Add a new system variable JAVA_HOME with value C:\Program Files\java\jdk1.6.0_16

Set up java development environment Add to the existed system variable Path ;%JAVA_HOME%\bin Add a new system variable CLASSPATH with value.;%JAVA_HOME%\lib\dt.jar;%JAVA_HO ME%\lib\tools.jar Note: do not miss even one character above or you will go mad. Default path for java is C:\Program Files\java\. After jdk is installed, check whether java is in this path or not

Build your first java program Open notepad Write your first hello world! Program class helloworld { public static void main(String args[]) { System.out.println("Hello, World!"); }

Build your first java program Save your file as helloworld.java Note: the default file type for notepad is.txt Q: do you know how to save the file as.java? compile your first java program change the command line to the path that you save your java file. Change between different disks d: Change between different fold cd ** compile jave program javac helloworld.java

Build your first java program run your first java program java helloworld When your see the command line shows Hello, World! Congratulate! You have finished your first java program

Do assignment1 and Ask questions I would be grad to help Lab tutorial and assignment could be download in Note: Keep in mind that it is your responsibility to check the update of this webpage. It is the only official webpage for cs113A(NJIT 2009 fall)