SlideShare a Scribd company logo
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:\ProgramFiles\Java\jdk1.5.0_22\bin
HelloWorld example Open the notepad, then type the following code: Save it to file named: HelloWorld.java, for exam: D:\temp\javatutor\HelloWorld.java
Compile HelloWorld.java Open cmd, move to D:\temp\javatutor\ 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.

More Related Content

PDF
Applet blue j-intro_applets
PDF
Java interview question
PDF
Exercises TCP/IP Networking With Solutions
PDF
Programming with Python - Basic
PPT
Chapter14 -- networking security
PPT
Tutorial 7 - Wireless Networking and Security
 
PDF
Object-oriented Programming in Python
PPT
TCP/IP(networking)
Applet blue j-intro_applets
Java interview question
Exercises TCP/IP Networking With Solutions
Programming with Python - Basic
Chapter14 -- networking security
Tutorial 7 - Wireless Networking and Security
 
Object-oriented Programming in Python
TCP/IP(networking)

Similar to Training Java - Lesson1 (20)

PDF
Java 17 Recipes - A problem-solution approach 4th Edition Josh Juneau
PPTX
Easy java installation & practice
PPSX
Installing JDK and Eclipse -JDKeclipse.ppsx
PPTX
Lecture-2.pptx sensor design and signal processing using RF and THz sensing, ...
PDF
Java 17 Recipes A Problemsolution Approach Josh Juneau Luciano Manelli
PPTX
java:characteristics, classpath, compliation
PDF
Java lab1 manual
PDF
Java - At a glance
PPSX
JAVA.ppsx java code java edv java development
DOCX
JAVA CORE
PDF
Introduction to java
PDF
Java 17 Recipes - A problem-solution approach 4th Edition Josh Juneau
PDF
PDF
Java goes wild, lesson 1
PPTX
Java Programming Tutorials Basic to Advanced 1
PDF
J introtojava1-pdf
PPTX
Rebaison jameson tvl.ppt
DOCX
Core java tutorial
PDF
Java presentation
PDF
Ah java-ppt1
Java 17 Recipes - A problem-solution approach 4th Edition Josh Juneau
Easy java installation & practice
Installing JDK and Eclipse -JDKeclipse.ppsx
Lecture-2.pptx sensor design and signal processing using RF and THz sensing, ...
Java 17 Recipes A Problemsolution Approach Josh Juneau Luciano Manelli
java:characteristics, classpath, compliation
Java lab1 manual
Java - At a glance
JAVA.ppsx java code java edv java development
JAVA CORE
Introduction to java
Java 17 Recipes - A problem-solution approach 4th Edition Josh Juneau
Java goes wild, lesson 1
Java Programming Tutorials Basic to Advanced 1
J introtojava1-pdf
Rebaison jameson tvl.ppt
Core java tutorial
Java presentation
Ah java-ppt1
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Sports Quiz easy sports quiz sports quiz
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Pre independence Education in Inndia.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Complications of Minimal Access Surgery at WLH
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O7-L3 Supply Chain Operations - ICLT Program
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
01-Introduction-to-Information-Management.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Sports Quiz easy sports quiz sports quiz
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
2.FourierTransform-ShortQuestionswithAnswers.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
human mycosis Human fungal infections are called human mycosis..pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPH.pptx obstetrics and gynecology in nursing
Supply Chain Operations Speaking Notes -ICLT Program
Pre independence Education in Inndia.pdf
Ad

Training Java - Lesson1

  • 1. Lesson1: OVERVIEW What is JAVA How it works Development environment HelloWorld example Summary
  • 2. 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 … .
  • 4. How is works HelloWorld.java compile HelloWorld.class Window Linux MAC JMV
  • 6. 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:\ProgramFiles\Java\jdk1.5.0_22\bin
  • 7. HelloWorld example Open the notepad, then type the following code: Save it to file named: HelloWorld.java, for exam: D:\temp\javatutor\HelloWorld.java
  • 8. Compile HelloWorld.java Open cmd, move to D:\temp\javatutor\ Type following command: javac HelloWorld.java After completion, run HelloWorld by executing the command: java HelloWorld
  • 10. Summary Java is not only programming language, it is software development platform Java can run on every OS with once writing and completion code.