1 / 19

Getting Started

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.

marin
Download Presentation

Getting Started

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started ARCS Lab.

  2. 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?

  3. About the Java Technology • The Java Programming Language • Simple • Object oriented • Distributed • Multithreaded • Dynamic • Architecture neutral • Portable • High performance • Robust • Secure

  4. About the Java Technology • An overview of the Software development process Java VM 0100101… My Program MyProgram.class MyProgram.java Compiler

  5. About the Java Technology • Through the Java VM, the same application is capable of running on multiple platforms Class HelloWorld { public static void main(string[] arcs) { System.out.println(“Hello World!”); } } HelloWorld.java Compiler JVM JVM JVM

  6. About the Java Technology • The Java Platform • The Java Virtual Machine • The Java Application Programming Interface (API) MyProgram.java API Java platform Java Virtual Machine Hardware-Based Platform

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

  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

  9. The “Hello World!” Application • A Checklist • The Java SE Development Kit (JDK 6) • For MS Windows, Solaris and Linuxhttp://www.oracle.com/technetwork/java/javase/downloads • For Mac OS Xhttp://developer.apple.com • The Eclipse IDEhttp://www.eclipse.org/downloads/

  10. Creating Your First Application • Create a Java Project

  11. Creating Your First Application • In the Name and Location page of the wizard, do the following

  12. Creating Your First Application • Create a Class

  13. Creating Your First Application • Create a Class

  14. Creating Your First Application

  15. A Closer Look at the “Hello World!” • Source Code Comments package test; public class FirstClass { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); } }

  16. A Closer Look at the “Hello World!” • The “FirstClass” Class Definition package test; public class FirstClass { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); } }

  17. A Closer Look at the “Hello World!” • The “test” Package Definition package test; public class FirstClass { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); } }

  18. A Closer Look at the “Hello World!” • The “main” Method Definition package test; public class FirstClass { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(“Hello, Sungkyunkwan University!”); } }

  19. Q & A

More Related