Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.2 Getting the Tools and Setting Up the Development.

Similar presentations


Presentation on theme: "CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.2 Getting the Tools and Setting Up the Development."— Presentation transcript:

1 CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.2 Getting the Tools and Setting Up the Development Machine Produced by Harvey Peters, 2008 Copyright SAIT

2 Please read the following sections in your textbook Core Java, Volume I–Fundamentals, Eighth Edition By Cay S. Horstmann & Gary Cornell Chapter 2 - The Java Programming Environment Installing the Java Development Kit Choosing a Development Environment Using the Command-Line Tools Using an Integrated Development Environment Running a Graphical Application CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

3 Building the development machine http://java.sun.com Various versions –Java SE -- Standard Edition, for desktop applications, Applets, GUI, network, and more –Java EE -- Enterprise Edition, for Java Server Pages, Servlets, Web Applications –Java ME -- Micro Edition, for small portable and/or wireless devices Topic 1.2.1 CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

4 Building the development machine Topic 1.2.1 Acronyms JDKJava Development Kit APIApplication Program Interface SDKSoftware Development Kit JREJava Runtime Edition JDBCJava Database Connectivity JDOJava Data Objects IDEInteractive Development Environment (programming tool, such as Eclipse, NetBeans, Jbuilder, etc.) CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

5 Building the development machine http://java.sun.com/reference/api Documentation –APIs (Application Program Interface) –Download or use online Topic 1.2.1 CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

6 Building the development machine Versions –1.0 – 1.1 primitive –1.2 – first stable version Known as Java 2, major structural changes –1.3.1 – next popular version Used by Oracle 8 –1.4.2 – popular version –1.5 – known as Java 5 –1.6 – known as Java 6 Topic 1.2.1 CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

7 Installation directory contents –bin - binary executable files Windows versions have “.exe” extension Building the development machine Topic 1.2.1 Program NameFunction javaruntime program javaccompiler javadocdocumentation generator jarjava archive tool jarsignerattach security certificates to archives keytoolcreate and store keys & certificates policytoolset security policies for O/S CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

8 Installation directory contents –jre (Java runtime edition) bin –Contains java runtime but not compiler lib –library of runtime classes in.jar files –Contains rt.jar which is the main library of java classes for standard edition –contains an ext directory for.jar files that extend Java’s class libraries Building the development machine Topic 1.2.1 CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT

9 The API Packages in the Java Class Library: –java.lang –java.awt –java.applet –java.net –java.io –java.util –more… Topic 1.2.2 CPRG 215 Module 1.2- Getting the Tools and Setting Up the Development Machine Copyright SAIT


Download ppt "CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.2 Getting the Tools and Setting Up the Development."

Similar presentations


Ads by Google