Murach's Java SE 6
How to get started with Java

This chapter shows you how to install Java and how to use some basic tools and techniques to work with Java. It also introduces you to today's most popular Java IDEs. When you're done, you'll be able to enter and compile Java programs on your system.

To see how well this book works, you can download this chapter for free. And if you decide to use an IDE, you can download our IDE tutorials as well.

Chapter 1 How to get started with Java
Introduction to Java 4
Toolkits and platforms 4
Java compared to C++ 4
Java compared to C# 4
Applications, applets, and servlets 6
How Java compiles and interprets code 8
How to prepare your system for using Java 10
How to install the JDK 10
A summary of the directories and files of the JDK 12
How to set the command path 14
How to set the class path 16
How to use TextPad to work with Java 18
How to install TextPad 18
How to use TextPad to save and edit source code 20
How to use TextPad to compile source code 22
How to use TextPad to run an application 22
Common error messages and solutions 24
How to use the command prompt to work with Java 26
How to compile source code 26
How to run an application 26
How to compile source code with a switch 28
Essential DOS skills for working with Java 30
How to use the documentation for the J2SE API 32
How to install the API documentation 32
How to navigate the API documentation 34
Introduction to Java IDEs 36
The Eclipse IDE for Java 36
The NetBeans IDE 38
The BlueJ IDE 38




Murach's Java SE 6

Learn more about this book

Add this book to your cart

Download this chapter



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.