5-Jun-16 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.

Slides:



Advertisements
Similar presentations
JAVA Programming Environment © Juhani Välimäki 2003.
Advertisements

Chapter 5 Operating Systems. 5 The Operating System When working with multimedia, the operating system is perhaps the most important, the most complex,
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
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.
11-Jun-15 Just Enough Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
BlueJ: a very quick introduction. BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs.
Exploring the iPhone SDK Toyin Adedokun & Daniel Laughlin.
Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
25-Jun-15 Welcome to CIT 590 “Duke”
26-Jun-15 Getting Ready for CIT Labs Lab is scheduled for 3;00-4:30 Fridays in Moore 207 Lab is not in Towne 309 (Registrar has it wrong) Everyone.
30-Jun-15 Getting Ready for CIT Labs Lab is scheduled for 1:30-3:00 Fridays in Moore 207 Lab is not in Towne 313 (Registrar has it wrong) Everyone.
Lesson One: The Beginning
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
13-Jul-15 BlueJ: A Very Quick Introduction. BlueJ BlueJ is an IDE (Integrated Development Environment). It includes an editor, which you use to write.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
Introduction to Programming with Java, for Beginners Machine vs. Programming Language Intro to Java Edit-Compile-Run Program Process.
JAVA: An Introduction to Problem Solving & Programming, 6 th Ed. By Walter Savitch ISBN © 2012 Pearson Education, Inc., Upper Saddle River,
PHY281Introduction to JavaSlide 1 Introduction to Java In this section we will learn how how to use Java and write our first Java Applet:  The Java Development.
CS0007: Introduction to Computer Programming Setting Up Java.
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
Prepared by: Nor Zuraida Bt Mohd Gaminan Department of IT & Communication Politeknik Tuanku Syed Sirajuddin Chapter 1 Introduction to Operating System.
 Advantages  Easy to learn  Graphical Advantages  Help and Support  Widely used  Software compatibility  Customisable  Customisable Hardware 
Saeid Abolfazli, Faculty of Computer Science and IT, University Malaya Malaysia.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Lesson 4 Computer Software
Introducing Java.
Starting Chapter 4 Starting. 1 Course Outline* Covered in first half until Dr. Li takes over. JAVA and OO: Review what is Object Oriented Programming.
Lesson 6 Operating Systems and Software
CS110/CS119 Introduction to Computing (Java)
From BlueJ to NetBeans SWC 2.semester.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
Chapter 1.4 Programming languages Homework Due: Monday, August 11, 2014.
Computer basics Lesson 4 – Programs & S.O..
Introduction to Computers & Java CSS 161: Fundamentals of Computing Joe McCarthy 1.
McIDAS-V Technical Issues Memory useMemory use Java3D / Graphics driversJava3D / Graphics drivers Remote displayRemote display Background processingBackground.
Team and Client Rajiv Chalasani- Project Manager Mark Goesmann – Lead Designer Kevin Staake – Lead Implementer Dave Nyman – Quality Manager Client : Mr.
Java Chapter 1 Problem solving: 1. Understanding the problem. 2. Breaking the problem into manageable pieces. 3. Designing a solution. 4. Considering alternatives.
1 3. Computing System Fundamentals 3.1 Language Translators.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Monday, August 31, 2015 CSCI 351 – Mobile Applications Development.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
29-Nov-15 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
Application Programming Interfaces. Java comes with a bunch of classes that are already written. Java comes with a bunch of classes that are already written.
LanguageLab A Meta-modelling Environment Terje Gjøsæter and Andreas Prinz, University of Agder, Norway SDL Forum 2015, Berlin, Germany.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Programming Objectives What is a programming language? Difference between source code and machine code What is python? – Where to get it from – How to.
OST Intro in to Macs. History of Macintosh On January 24, 1984 Apple Computer introduced the Apple Macintosh personal computer, with the Macintosh.
Programming Languages Concepts Chapter 1: Programming Languages Concepts Lecture # 4.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
BlueJ X ICSE Syllabus. Board Pattern THEORY (100 marks) PRACTICAL (100 marks) PROJECT (50 marks) ASSIGNMENTS (50 marks)
1 Programming and problem solving in C, Maxima, and Excel.
Unit 3 Computer Systems. What is software? unlike hardware it can’t be physically touched it’s the missing link between the computer hardware and the.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Chapter 5 Operating Systems.
Development Environment
Macintosh & Linux Used to fill in pg 5 & 6 of “Operating Systems” Packet.
CSCI 351 – Mobile Applications Development
1. Environment Setting Minhaeng Lee.
F II 1. Background Objectives
Getting Ready for Java version Apr-19.
BlueJ: a very quick introduction
Review of Previous Lesson
Presentation transcript:

5-Jun-16 Getting Ready for Java

2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand Java is currently a very popular language Java is a large, powerful language but it is not simple! Compared to C++, Java is elegant

3 Declarations, statements, comments A declaration gives some information to the computer A statement tells the computer to do something Statements should really be called “commands” Comments are ignored by the computer—they are explanations of your program for human beings to read

4 Syntax and semantics Syntax is the “grammar” of the language The syntax of Java is large, but finite Syntax must be absolutely correct The computer will point out every syntax error Error messages may be helpful or misleading Semantics is the “meaning” of your program Semantic errors cause your answers to be wrong You may or may not get error messages

5 Two aspects of Java Java has syntax and semantics This is where you begin It is possible to learn everything about Java’s syntax and semantics We will cover most of Java’s syntax and semantics Java also has “packages” Packages are sort of like vocabulary bundles To be good at Java, you need to learn many packages There are more Java packages than you can ever learn

6 Versions of Java Java 1 Java 1.0: Original, not very good version Java 1.1: Greatly revised and improved Java 2 Java 1.2: Includes “Swing” Java 1.3: More new packages, no new syntax Java 1.4: Introduces the assert statement Java 5 Java 1.5: Quite a bit of new syntax

7 Vocabulary I JRE, Java Runtime Environment This is the software that allows you to run Java programs on your computer JDK, Java Development Kit (previously called SDK, System Development Kit) The software that allows you to create and run Java programs on your computer When you install the SDK, you get a JRE along with it IDE, Integrated Development Environment A tool that makes it easier to write programs

8 Vocabulary II Beta software Software that is new, untested, often buggy Interface the place where things touch each other the way that distinct things communicate GUI, Graphical User Interface A way for the computer and the user to communicate via graphics (pictures) on the screen

9 BlueJ BlueJ is an IDE (Integrated Development Environment). It includes an editor, which you use to write your programs a debugger, to help you find your mistakes a viewer, to see the parts of your program an easy way to run Java programs an easy way to view documentation

10 Elegance Powerful software can do everything you want to do--for example, Microsoft Word Complex software is hard to learn and hard to use-- for example, Microsoft Word More power usually means more complexity Elegant software somehow manages to be both powerful and simple BlueJ is elegant Unfortunately, it’s also a bit buggy

11 What You Need 128 MB of RAM (256 MB recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably Panther (10.4) Java JDK 1.5 (includes JRE) BlueJ or better Earlier versions of BlueJ have serious problems If you have an older version, update! By the way: the JDK and BlueJ are free

12 Getting Ready If you plan to use your own computer: Download and install Java JDK Download the JDK, not the JRE If your computer can’t run Java 1.5, get Java [Optional, but strongly recommended] Download the Java 1.5 documentation from the same location Download and install BlueJ or newer

13 The End