SlideShare a Scribd company logo
Java Technology
Jussi Pohjolainen
Tampere University of Applied Sciences
INTRODUCTION TO JAVA
TECHNOLOGY
Introduction to Java
• Java is a programming language developed by
James Gosling at Sun Microsystems
• Released in 1995
• Syntax derived from C and C++
History
• Java 1.0 in 1995
• Initial Success:
– Write Once Run Anywhere (WORA)
– Web Browsers incorporated the ability to run small
Java – programs called Applets
• Java 2 was introduced in 1998, divided into three
categories:
– Java2 Enterprise Edition (J2EE)
– Java2 Standard Edition (J2SE)
– Java2 Micro Edition (J2ME)
Today
• In 2006 Sun renamed Java 2 versions
– Java EE
– Java SE
– Java ME
• Java versioning: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 and
1.6 (which is the current)
• Most popular programming language!
– http://www.tiobe.com/index.php/content/paperin
fo/tpci/index.html
Java on Desktop: SwingSet demo
Java on Mobile: Opera Mini
Java on Server: Etuovi.com
Java's Future?
• Very few Java desktop apps
– Sluggish performance?
– Why use Java when you have Qt?
• Popular on the enterprise and mobile side
– Mobile programming is under heavy turbulence at the
moment:
• Nokia's Qt (C++)
• Apple's iPhone (Objective-C)
• Google's Android (Java)
• Sun Microsystem's financial trouble, Oracle
bought Sun in April 2009!
Compiling Java Apps
http://java.sun.com/docs/books/tutorial/getSt
arted/intro/definition.html
Compiling Qt Apps
http://www.symbianresources.com/tutorials/q
t/01-QtIntroduction.pdf
JAVA TOOLS
Java Tools
• Three platforms: Java SE, Java ME, Java EE
• Java SE is used for desktop apps:
– Java SE Runtime Environment (JRE)
• For running Java apps
– Java SE Development Kit (JDK)
• For developing and running Java Apps
• Includes JRE!
NetBeans Bundle
• The JDK comes with only the necessary tools
to compile and run apps
• The JDK with NetBeans bundle is a IDE
(Integrated Development Environment) that
has all the tools to create Java SE apps
NetBeans on Mac OS X
Using Text Editor and JDK
• NetBeans is very powerful tool for creating
Java Apps
• If you are about to start learning
programming, I do not recommend NetBeans,
use plain text editor and JDK instead!
– NetBeans does a lot work in the background
– NetBeans can be sluggish on older computers
– NetBeans can be confusing for junior
programmers
Basic JDK Commands
(Command Prompt)
• javac – Java Compiler
– javac MyProgram.java
• java – Running Java Apps
– java MyProgram
• That's it!
Intro to Java Technology
NotePad++
• Free text editor indented for programming
(Windows)
• Change settings / preferences
– New Document: Format: Unix / Windows
• Depending on your configuration
– New Document: Encoding: ISO-8859-1
– New Document: Default Language: Java
– Document: Tab Size 4, [x] Replace by Space
Exercise
• Download and configure Notepad++
• Download Java SE 6
• Read ...
– http://java.sun.com/docs/books/tutorial/getStart
ed/cupojava/win32.html
• ... and Compile and run "HelloWorld"-
application

More Related Content

PPT
Javafx
Tarun Soni
 
PPT
PALASH SL GUPTA
PALASH GUPTA
 
PPTX
Java history 01
University of Potsdam
 
PPTX
JAVA FEATURES
shalinikarunakaran1
 
PPTX
Tehran's 1st Android bootcamp - Part2
Mohsen Mirhoseini
 
PPTX
Features of java
WILLFREDJOSE W
 
PPTX
00 java basic programming in Bangla|| Introduction
Fazle Rabbi Ador
 
PPTX
1 java introduction
abdullah al mahamud rosi
 
Javafx
Tarun Soni
 
PALASH SL GUPTA
PALASH GUPTA
 
Java history 01
University of Potsdam
 
JAVA FEATURES
shalinikarunakaran1
 
Tehran's 1st Android bootcamp - Part2
Mohsen Mirhoseini
 
Features of java
WILLFREDJOSE W
 
00 java basic programming in Bangla|| Introduction
Fazle Rabbi Ador
 
1 java introduction
abdullah al mahamud rosi
 

What's hot (19)

PPTX
Introduction to Java
Soumya Suman
 
PPTX
JAVA Career
JAVAjobsindia
 
PPTX
Ten years later
Cristian Vat
 
PPTX
Introduction of java technology
technologieslara
 
PPTX
Lara Technology
laratechnologies
 
PPTX
Presentation on java (8)
Shwetakant1
 
PPTX
Pi j1.1 what-is-java
mcollison
 
PPTX
Java
Mariappans13
 
PPT
Microsoft Robotics Developer Studio presentation by Md Kamal Azhar
Md Kamal Azhar
 
PPTX
JAVA ENVIRONMENT
josemachoco
 
PPTX
JRE , JDK and platform independent nature of JAVA
Mehak Tawakley
 
PDF
Java presentation
Programming Talents
 
PPT
Evolution Of Java
Munish Gupta
 
PPTX
Features of java 02
University of Potsdam
 
PDF
Introduction to Django (GDays 2014)
Edem Kumodzi
 
KEY
Building Pistachio with Sencha Touch 2 (introductory)
Luis Merino
 
PDF
02 java programming features of java i
Ravi Patki
 
Introduction to Java
Soumya Suman
 
JAVA Career
JAVAjobsindia
 
Ten years later
Cristian Vat
 
Introduction of java technology
technologieslara
 
Lara Technology
laratechnologies
 
Presentation on java (8)
Shwetakant1
 
Pi j1.1 what-is-java
mcollison
 
Microsoft Robotics Developer Studio presentation by Md Kamal Azhar
Md Kamal Azhar
 
JAVA ENVIRONMENT
josemachoco
 
JRE , JDK and platform independent nature of JAVA
Mehak Tawakley
 
Java presentation
Programming Talents
 
Evolution Of Java
Munish Gupta
 
Features of java 02
University of Potsdam
 
Introduction to Django (GDays 2014)
Edem Kumodzi
 
Building Pistachio with Sencha Touch 2 (introductory)
Luis Merino
 
02 java programming features of java i
Ravi Patki
 
Ad

Viewers also liked (7)

PPTX
Intro to Java
karianneban
 
PPT
Intro to Java for C++ Developers
Zachary Blair
 
PPT
Java Intro
Vijay A Raj
 
PPT
Chapter 1 introduction to java technology
sshhzap
 
PDF
Introduction to java technology
Indika Munaweera Kankanamge
 
PPTX
Java 101 intro to programming with java
Hawkman Academy
 
PPTX
Introduction to Java Programming
Pokequesthero
 
Intro to Java
karianneban
 
Intro to Java for C++ Developers
Zachary Blair
 
Java Intro
Vijay A Raj
 
Chapter 1 introduction to java technology
sshhzap
 
Introduction to java technology
Indika Munaweera Kankanamge
 
Java 101 intro to programming with java
Hawkman Academy
 
Introduction to Java Programming
Pokequesthero
 
Ad

Similar to Intro to Java Technology (20)

PPSX
JAVA.ppsx java code java edv java development
wannabekrishna0
 
PPSX
Java Semimar Slide (Cetpa)
Pratima Parida
 
PPSX
Java Semimar Slide (Cetpa)
Pratima Parida
 
PPTX
DIT 206 LECTURE 2 - Features of the Java Programming Language copy.pptx
kafuurismail
 
PDF
Java - At a glance
Nitish Baranwal
 
PPTX
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
DOCX
JAVA First Day
Sher Singh Bardhan
 
PDF
Java Basic.pdf
TechSearchWeb
 
PPTX
Java (1)
Samraiz Tejani
 
PPTX
Java ms harsha
Harsha Batra
 
DOCX
JAVA CORE
Ankit Chauhan
 
PDF
Lecture-01 _Java Introduction CS 441 Fast
UzairSaeed18
 
PDF
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
PDF
TechSearchWeb.pdf
TechSearchWeb
 
PDF
Technology Tutorial.pdf
TechSearchWeb
 
PPTX
Introduction to java
Java Lover
 
PPT
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
PDF
JAVA BOOK BY SIVASANKARI
SivaSankari36
 
PPTX
Java programming Introduction | Java basic architecture
shaswinayyan
 
JAVA.ppsx java code java edv java development
wannabekrishna0
 
Java Semimar Slide (Cetpa)
Pratima Parida
 
Java Semimar Slide (Cetpa)
Pratima Parida
 
DIT 206 LECTURE 2 - Features of the Java Programming Language copy.pptx
kafuurismail
 
Java - At a glance
Nitish Baranwal
 
Java Programming Tutorials Basic to Advanced 1
JALALUDHEENVK1
 
JAVA First Day
Sher Singh Bardhan
 
Java Basic.pdf
TechSearchWeb
 
Java (1)
Samraiz Tejani
 
Java ms harsha
Harsha Batra
 
JAVA CORE
Ankit Chauhan
 
Lecture-01 _Java Introduction CS 441 Fast
UzairSaeed18
 
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
TechSearchWeb
 
Introduction to java
Java Lover
 
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
JAVA BOOK BY SIVASANKARI
SivaSankari36
 
Java programming Introduction | Java basic architecture
shaswinayyan
 

More from Jussi Pohjolainen (20)

PDF
Moved to Speakerdeck
Jussi Pohjolainen
 
PDF
Java Web Services
Jussi Pohjolainen
 
PDF
Box2D and libGDX
Jussi Pohjolainen
 
PDF
libGDX: Screens, Fonts and Preferences
Jussi Pohjolainen
 
PDF
libGDX: Tiled Maps
Jussi Pohjolainen
 
PDF
libGDX: User Input and Frame by Frame Animation
Jussi Pohjolainen
 
PDF
Intro to Building Android Games using libGDX
Jussi Pohjolainen
 
PDF
Advanced JavaScript Development
Jussi Pohjolainen
 
PDF
Introduction to JavaScript
Jussi Pohjolainen
 
PDF
Introduction to AngularJS
Jussi Pohjolainen
 
PDF
libGDX: Scene2D
Jussi Pohjolainen
 
PDF
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
PDF
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
PDF
libGDX: User Input
Jussi Pohjolainen
 
PDF
Implementing a Simple Game using libGDX
Jussi Pohjolainen
 
PDF
Building Android games using LibGDX
Jussi Pohjolainen
 
PDF
Android Threading
Jussi Pohjolainen
 
PDF
Creating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Jussi Pohjolainen
 
PDF
Creating Games for Asha - platform
Jussi Pohjolainen
 
PDF
Intro to Asha UI
Jussi Pohjolainen
 
Moved to Speakerdeck
Jussi Pohjolainen
 
Java Web Services
Jussi Pohjolainen
 
Box2D and libGDX
Jussi Pohjolainen
 
libGDX: Screens, Fonts and Preferences
Jussi Pohjolainen
 
libGDX: Tiled Maps
Jussi Pohjolainen
 
libGDX: User Input and Frame by Frame Animation
Jussi Pohjolainen
 
Intro to Building Android Games using libGDX
Jussi Pohjolainen
 
Advanced JavaScript Development
Jussi Pohjolainen
 
Introduction to JavaScript
Jussi Pohjolainen
 
Introduction to AngularJS
Jussi Pohjolainen
 
libGDX: Scene2D
Jussi Pohjolainen
 
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
libGDX: User Input
Jussi Pohjolainen
 
Implementing a Simple Game using libGDX
Jussi Pohjolainen
 
Building Android games using LibGDX
Jussi Pohjolainen
 
Android Threading
Jussi Pohjolainen
 
Creating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Jussi Pohjolainen
 
Creating Games for Asha - platform
Jussi Pohjolainen
 
Intro to Asha UI
Jussi Pohjolainen
 

Recently uploaded (20)

PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PPT
L2 Rules of Netiquette in Empowerment technology
Archibal2
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Chapter 1 Introduction to CV and IP Lecture Note.pdf
Getnet Tigabie Askale -(GM)
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
L2 Rules of Netiquette in Empowerment technology
Archibal2
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Chapter 1 Introduction to CV and IP Lecture Note.pdf
Getnet Tigabie Askale -(GM)
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 

Intro to Java Technology

  • 1. Java Technology Jussi Pohjolainen Tampere University of Applied Sciences
  • 3. Introduction to Java • Java is a programming language developed by James Gosling at Sun Microsystems • Released in 1995 • Syntax derived from C and C++
  • 4. History • Java 1.0 in 1995 • Initial Success: – Write Once Run Anywhere (WORA) – Web Browsers incorporated the ability to run small Java – programs called Applets • Java 2 was introduced in 1998, divided into three categories: – Java2 Enterprise Edition (J2EE) – Java2 Standard Edition (J2SE) – Java2 Micro Edition (J2ME)
  • 5. Today • In 2006 Sun renamed Java 2 versions – Java EE – Java SE – Java ME • Java versioning: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 and 1.6 (which is the current) • Most popular programming language! – http://www.tiobe.com/index.php/content/paperin fo/tpci/index.html
  • 6. Java on Desktop: SwingSet demo
  • 7. Java on Mobile: Opera Mini
  • 8. Java on Server: Etuovi.com
  • 9. Java's Future? • Very few Java desktop apps – Sluggish performance? – Why use Java when you have Qt? • Popular on the enterprise and mobile side – Mobile programming is under heavy turbulence at the moment: • Nokia's Qt (C++) • Apple's iPhone (Objective-C) • Google's Android (Java) • Sun Microsystem's financial trouble, Oracle bought Sun in April 2009!
  • 13. Java Tools • Three platforms: Java SE, Java ME, Java EE • Java SE is used for desktop apps: – Java SE Runtime Environment (JRE) • For running Java apps – Java SE Development Kit (JDK) • For developing and running Java Apps • Includes JRE!
  • 14. NetBeans Bundle • The JDK comes with only the necessary tools to compile and run apps • The JDK with NetBeans bundle is a IDE (Integrated Development Environment) that has all the tools to create Java SE apps
  • 16. Using Text Editor and JDK • NetBeans is very powerful tool for creating Java Apps • If you are about to start learning programming, I do not recommend NetBeans, use plain text editor and JDK instead! – NetBeans does a lot work in the background – NetBeans can be sluggish on older computers – NetBeans can be confusing for junior programmers
  • 17. Basic JDK Commands (Command Prompt) • javac – Java Compiler – javac MyProgram.java • java – Running Java Apps – java MyProgram • That's it!
  • 19. NotePad++ • Free text editor indented for programming (Windows) • Change settings / preferences – New Document: Format: Unix / Windows • Depending on your configuration – New Document: Encoding: ISO-8859-1 – New Document: Default Language: Java – Document: Tab Size 4, [x] Replace by Space
  • 20. Exercise • Download and configure Notepad++ • Download Java SE 6 • Read ... – http://java.sun.com/docs/books/tutorial/getStart ed/cupojava/win32.html • ... and Compile and run "HelloWorld"- application