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
PPT
PALASH SL GUPTA
PPTX
Java history 01
PPTX
JAVA FEATURES
PPTX
Tehran's 1st Android bootcamp - Part2
PPTX
Features of java
PPTX
00 java basic programming in Bangla|| Introduction
PPTX
1 java introduction
Javafx
PALASH SL GUPTA
Java history 01
JAVA FEATURES
Tehran's 1st Android bootcamp - Part2
Features of java
00 java basic programming in Bangla|| Introduction
1 java introduction

What's hot (19)

PPTX
Introduction to Java
PPTX
JAVA Career
PPTX
Ten years later
PPTX
Introduction of java technology
PPTX
Lara Technology
PPTX
Presentation on java (8)
PPTX
Pi j1.1 what-is-java
PPTX
PPT
Microsoft Robotics Developer Studio presentation by Md Kamal Azhar
PPTX
JAVA ENVIRONMENT
PPTX
JRE , JDK and platform independent nature of JAVA
PDF
Java presentation
PPT
Evolution Of Java
PPTX
Features of java 02
PDF
Introduction to Django (GDays 2014)
KEY
Building Pistachio with Sencha Touch 2 (introductory)
PDF
02 java programming features of java i
Introduction to Java
JAVA Career
Ten years later
Introduction of java technology
Lara Technology
Presentation on java (8)
Pi j1.1 what-is-java
Microsoft Robotics Developer Studio presentation by Md Kamal Azhar
JAVA ENVIRONMENT
JRE , JDK and platform independent nature of JAVA
Java presentation
Evolution Of Java
Features of java 02
Introduction to Django (GDays 2014)
Building Pistachio with Sencha Touch 2 (introductory)
02 java programming features of java i
Ad

Viewers also liked (7)

PPTX
Intro to Java
PPT
Intro to Java for C++ Developers
PPT
Java Intro
PPT
Chapter 1 introduction to java technology
PDF
Introduction to java technology
PPTX
Java 101 intro to programming with java
PPTX
Introduction to Java Programming
Intro to Java
Intro to Java for C++ Developers
Java Intro
Chapter 1 introduction to java technology
Introduction to java technology
Java 101 intro to programming with java
Introduction to Java Programming
Ad

Similar to Intro to Java Technology (20)

PPTX
OOP - Lecture02 - Introduction to Java.pptx
PDF
Lecture-01 _Java Introduction CS 441 Fast
PPTX
Java (1)
PPTX
Java Basics
PPSX
JAVA.ppsx java code java edv java development
PPT
The Evolution of Java
PPTX
1. Java Project Guidance for engineering
PPTX
java basics concepts and the keywords needed
PPTX
OOP Lecture 1-Intro to Java.pptx
PPTX
ITC 110 Week 9 - Introduction to Porgramming .pptx
PPTX
Java programming Introduction | Java basic architecture
PPTX
Manually exercising input combinations on the bench or with a microcontroller
PPTX
Java Introduction
PPTX
Object Oriented Programming Part 1 of Unit 1
PDF
Java ppt1
PDF
Learn Java Part 1
PPTX
1.Intro--Why Java.pptx
PPTX
The Java Story
PPTX
Introduction to java
PPT
Introduction to Core Java feature and its characteristics
OOP - Lecture02 - Introduction to Java.pptx
Lecture-01 _Java Introduction CS 441 Fast
Java (1)
Java Basics
JAVA.ppsx java code java edv java development
The Evolution of Java
1. Java Project Guidance for engineering
java basics concepts and the keywords needed
OOP Lecture 1-Intro to Java.pptx
ITC 110 Week 9 - Introduction to Porgramming .pptx
Java programming Introduction | Java basic architecture
Manually exercising input combinations on the bench or with a microcontroller
Java Introduction
Object Oriented Programming Part 1 of Unit 1
Java ppt1
Learn Java Part 1
1.Intro--Why Java.pptx
The Java Story
Introduction to java
Introduction to Core Java feature and its characteristics

More from Jussi Pohjolainen (20)

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

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation theory and applications.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
20250228 LYD VKU AI Blended-Learning.pptx
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
Chapter 3 Spatial Domain Image Processing.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectroscopy.pptx food analysis technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

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