19
Getting Started ARCS Lab.

Getting Started

  • Upload
    marin

  • View
    46

  • Download
    0

Embed Size (px)

DESCRIPTION

Getting Started. ARCS Lab. The Java Technology Phenomenon. Talk about Java technology seems to be everywhere, but what exactly is it? About the Java Technology What Can Java Technology Do? How Will Java Technology Change My Life?. About the Java Technology. The Java Programming Language. - PowerPoint PPT Presentation

Citation preview

Page 1: Getting Started

Getting Started

ARCS Lab.

Page 2: Getting Started

2

The Java Technology Phenome-non

Talk about Java technology seems to be everywhere, but what exactly is it?► About the Java Technology► What Can Java Technology Do?► How Will Java Technology Change My Life?

Page 3: Getting Started

3

About the Java Technology

The Java Programming Language ► High performance

► Robust► Secure

► Simple► Object oriented► Distributed► Multithreaded► Dynamic► Architecture neu-

tral► Portable

Page 4: Getting Started

4

About the Java Technology An overview of the Software development

process

CompilerJavaVM

0100101…

MyProgram.java MyProgram.class My Program

Page 5: Getting Started

5

About the Java Technology Through the Java VM, the same application

is capable of running on multiple platformsClass HelloWorld { public static void main(string[] arcs) { System.out.println(“Hello World!”); }}

HelloWorld.java

JVMJVM JVM

Compiler

Page 6: Getting Started

6

About the Java Technology The Java Platform

► The Java Virtual Machine► The Java Application Programming Interface

(API)

MyProgram.javaAPIJava Virtual Machine

Hardware-Based Platform

Javaplatform

Page 7: Getting Started

7

What Can Java Technology Do? Development Tools Application Programming Interface (API) Deployment Technologies User Interface Toolkits Integration Libraries

Page 8: Getting Started

8

How Will Java Change My Life? Get Started quickly Write less code Write better code Develop programs more quickly Avoid platform dependencies Write once, run anywhere Distribute software more easily

Page 9: Getting Started

9

The “Hello World!” Application A Checklist

► The Java SE Development Kit (JDK 6)► For MS Windows, Solaris and Linux

http://www.oracle.com/technetwork/java/javase/downloads

► For Mac OS Xhttp://developer.apple.com

► The Eclipse IDEhttp://www.eclipse.org/downloads/

Page 10: Getting Started

10

Creating Your First Application Create a Java Project

Page 11: Getting Started

11

Creating Your First Application In the Name and Location page of the wiz-

ard, do the following

Page 12: Getting Started

12

Creating Your First Application Create a Class

Page 13: Getting Started

13

Creating Your First Application Create a Class

Page 14: Getting Started

14

Creating Your First Application

Page 15: Getting Started

15

A Closer Look at the “Hello World!”

Source Code Commentspackage test;

public class FirstClass{ /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); }}

Page 16: Getting Started

16

A Closer Look at the “Hello World!”

The “FirstClass” Class Definitionpackage test;

public class FirstClass{ /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); }}

Page 17: Getting Started

17

A Closer Look at the “Hello World!”

The “test” Package Definitionpackage test;

public class FirstClass{ /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); }}

Page 18: Getting Started

18

A Closer Look at the “Hello World!”

The “main” Method Definitionpackage test;

public class FirstClass{ /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); }}

Page 19: Getting Started

19

Q & A