Training Java - Lesson1
Upcoming SlideShare
Loading in...5
×
 

Training Java - Lesson1

on

  • 669 views

 

Statistics

Views

Total Views
669
Views on SlideShare
667
Embed Views
2

Actions

Likes
0
Downloads
12
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Training Java - Lesson1 Training Java - Lesson1 Presentation Transcript

  • Lesson1: OVERVIEW
    • What is JAVA
    • How it works
    • Development environment
    • HelloWorld example
    • Summary
  • What is Java
    • Not only a programming language, it is software development platform which:
      • covers a high-level programming language
      • Can run on multi-platform like:Window, Mac, Linux..
      • Implements completely OO
      • … .
  • What is Java
  • How is works HelloWorld.java compile HelloWorld.class Window Linux MAC JMV
  • Development environment tools Libs+JVM
  • Development Environment
    • $PATH variable
      • It is the system-path which used to fast access to one program in the system.
    • Edit $PATH to using java’s tools
      • add the path of bin sub-folder of the java root folder on the end of $PATH, after putting ‘ ; ’ symbol
      • Ex: $PATH ; C:ProgramFilesJavajdk1.5.0_22in
  • HelloWorld example
    • Open the notepad, then type the following code:
    • Save it to file named: HelloWorld.java, for exam: D: empjavatutorHelloWorld.java
  • Compile HelloWorld.java
    • Open cmd, move to D: empjavatutor
    • Type following command:
      • javac HelloWorld.java
    • After completion, run HelloWorld by executing the command:
      • java HelloWorld
  • HelloWorld result
  • Summary
    • Java is not only programming language, it is software development platform
    • Java can run on every OS with once writing and completion code.