Before you begin
Find out what to expect from this tutorial and how to get the most out of it.
The two-part "Introduction to Java programming" tutorial is intended to get software developers who are new to Java technology up and running with object-oriented programming (OOP) and real-world application development using the Java language and platform.
This first part is a step-by-step introduction to OOP using the Java language. The tutorial begins with an overview of the Java platform and language and is followed by instructions for setting up a development environment consisting of a Java Development Kit (JDK) and the Eclipse IDE. Once you have been introduced to your development environment's components, you will begin learning basic Java syntax hands-on.
2 covers more-advanced language features, including regular expressions, generics,
I/O, and serialization. Programming examples in Part 2 build on the
Person object that you begin developing in Part 1.
When you've finished Part 1, you will be familiar with basic Java language syntax and able to write simple Java programs. You should follow up with "Introduction to Java programming, Part 2: Constructs for real-world applications" to build on this foundation.
This tutorial is for software developers who are not yet experienced with Java code or the Java platform. The tutorial includes an overview of OOP concepts.
To complete the exercises in this tutorial, install and set up a development environment consisting of:
- JDK 6 from Sun/Oracle.
- Eclipse IDE for Java Developers.
Download and installation instructions for both are included in the tutorial.
The recommended system configuration is:
- A system supporting Java SE 6 with at least 1GB of main memory. Java 6 is supported on Linux®, Windows®, and Solaris®.
- At least 20MB of disk space to install the software components and examples.