Java is Awesome Sean Pierce. What is the JVM and Why do I care?

Slides:



Advertisements
Similar presentations
Why Have The OSGi Specifications Been Based On Java Technology ? By Peter Kriens, CEO aQute OSGi Technology Officer
Advertisements

1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
In Review JAVA C++ GUIs - Windows Webopedia.com.
JAVA Programming Environment © Juhani Välimäki 2003.
Chapter 2: Your First Program! Hello World: Let’s Program  All programs must have the extension.java  Our first program will be named: HelloWorld.java.
Java Syntax, Java Conventions, CSE 115 Conventions (Part 1) CSE 115 Spring 2006 January 25 & 27, 2006.
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
Introduction to Java Programming
Winter 2005Jason Prideaux1 Apache ANT A platform independent build tool for Java programs.
Introduction to Computer Programming CSC 1401: Introduction to Programming with Java Lecture 2 Wanda M. Kunkle.
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,
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
Comp2513 Java Servlet Basics Daniel L. Silver, Ph.D.
Applying OO Concepts Using Java. In this class, we will cover: Overriding a method Overloading a method Constructors Mutator and accessor methods The.
JAVA ENVIRONMENT JDK, API, JVM. JAVA ENVIRONMENT  Java environment includes development tools and many classes and methods. Java Environment JDK (Java.
COMPILING JAVA PROGRAM USING JDK COMMAND LINE WINDOWS PLATFORM.
Getting Started with Java
Android and Eclipse Thaddeus Diamond CPSC 112. A Quick Introduction Eclipse is an IDE (Integrated Development Environment Open Source Much more full-featured.
Introduction to Java Tonga Institute of Higher Education.
Introduction to Java CSIS 3701: Advanced Object Oriented Programming.
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Java The Beginning. Why Java?  Currently, this is the language of the international AP course which runs Feb-Apr  FREE!  Platform-independent  Simple.
Introduction to the Java Virtual Machine 井民全. JVM (Java Virtual Machine) the environment in which the java programs execute The specification define an.
FRST JAVA PROGRAM. Getting Started with Java Programming A Simple Java Application Compiling Programs Executing Applications.
Computer Science 119 Intro to Java 9/24 and 9/25.
Introduction 1-1 Introduction to Virtual Machines From “Virtual Machines” Smith and Nair Chapter 1.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
CS 11 java track: lecture 1 Administrivia need a CS cluster account cgi-bin/sysadmin/account_request.cgi need to know UNIX
May 9, 2002Serguei A. Mokhov, 1 Kickstart Intro to Java Part I COMP346/ Operating Systems Revision 1.6 February 9, 2004.
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
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.
Compiling and the Java Virtual Machine (JVM). The syntax of Pseudocode is pretty loose –visual validation encourages a permissive approach –emphasized.
4-Nov-15 Air Force Institute of Technology Electrical and Computer Engineering Object-Oriented Programming Design Topic 1: The Java Environment Maj Joel.
Getting started with Programming using IDE. JAVA JAVA IS A PROGRAMMING LANGUAGE AND A PLATFORM. IT CAN BE USED TO DELIVER AND RUN HIGHLY INTERACTIVE DYNAMIC.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and web applications Very rich GUI libraries Portability (machine independence) A real Object.
CS 4244: Internet Programming Network Programming in Java 1.0.
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
1. An Introduction A Programming Language A Technology Java Development Kit Java API One Language: Three Editions Standard Edition Enterprise Edition.
Overview of Java CSCI 392 Day One. Running C code vs Java code C Source Code C Compiler Object File (machine code) Library Files Linker Executable File.
IMRAN DAUD FOUNDATION UNIVERSITY RAWALPINDI CAMPUS Imran Daud FURC Web Engineering Introduction.
By: Cheryl Mok & Sarah Tan. Java is partially interpreted. 1. Programmer writes a program in textual form 2. Runs the compiler, which converts the textual.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
CSCI 212 Object-Oriented Programming in Java. Prerequisite: CSCI 111 variable assignment statement while loop for loop post-increment (i++) strong typing.
3/5/2002e-business and Information Systems1 Java Java Java Virtual Machine (JVM) Java Application Program Interface (API) HW Kernel API Application Programs.
Compilers and Interpreters
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 15: Java Basics Fundamentals of Web Programming.
Learning Plan 6 Java Programming Intro to Object Oriented Programming.
Sung-Dong Kim, Dept. of Computer Engineering, Hansung University Java - Introduction.
CS-140 Dick Steflik Lecture 3. Java C++ Interpreted optimized for the internet Runs on virtual ized machine Derived from C++ Good object model Widely.
Before You Begin Nahla Abuel-ola /WIT.
Android Runtime – Dalvik VM
Chapter 2: Operating-System Structures
Key Ideas from day 1 slides
Lecture 1 Runtime environments.
CompSci 230 Software Construction
Introduction to Java Dept. Business Computing University of Winnipeg
Getting Started ARCS Lab..
Applying OO Concepts Using Java
Introduction to Virtual Machines
Lecture 1 Runtime environments.
Introduction to Virtual Machines
Road to Object Oriented Programming
Chap 1. Getting Started Objectives
Chap 4. Programming Fundamentals
Review of Previous Lesson
Programming language translators
Presentation transcript:

Java is Awesome Sean Pierce

What is the JVM and Why do I care?

Similar to an android app running inside it’s simulator on multiple platforms

Compiling byte code vs. C code

What is the JVM and Why do I care? Multiple platforms Heavily lifting done for you – Found in the API

Introducing the Java API Easy-to-use Ctrl + Space:

Introducing the Java API Online Documentation:

All the things you should know but no one ever told you Java is slow but still the predominate globally dev’d language – Re-usable – secure NoClassDefFound error Your Environment & class paths.jar =.zip Commands: – javac HelloWorld.java;//produces HelloWorld.class – java HelloWorld ‘What every programmer should know about…’ – Unicode – Security – The internet Android programming =ish java C# is java for Microsoft (Their VM is called CLI) Best way to learn is to do a personal project!

Structured Vs. Objects Blueprints = class Batmobile = Object =

Questions How is Java different from other languages? What is the JVM? What does the JVM do? How is a class different from an Object? What is a.class file? What is the NoClassDefFound error? What is the best way to learn a language like Java?