24.09.2013 Views

Part II: Writing Your Own Java Programs - Get a Free Blog

Part II: Writing Your Own Java Programs - Get a Free Blog

Part II: Writing Your Own Java Programs - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

28<br />

<strong>Part</strong> I: Revving Up<br />

Sun’s Web site bundles the basic <strong>Java</strong> tools in<br />

two different ways:<br />

More free books @ www.BingEbook.com<br />

The <strong>Java</strong> Runtime Environment (JRE): This<br />

bundle includes a <strong>Java</strong> virtual machine and<br />

the Application Programming Interface. (See<br />

Chapter 1.) With the JRE, you can run existing<br />

<strong>Java</strong> programs. That’s all. You can’t create<br />

new <strong>Java</strong> programs, because you don’t have<br />

a <strong>Java</strong> compiler.<br />

The <strong>Java</strong> Development Kit (JDK): This bundle<br />

includes three tools — a <strong>Java</strong> compiler, a<br />

Two bags of goodies<br />

Downloading and installing the JCreator<br />

integrated development environment<br />

In the previous sections, you get all the tools your computer needs for processing<br />

<strong>Java</strong> programs. This section is different. In this section you get the<br />

tool that you need for composing and testing your <strong>Java</strong> programs. You get<br />

JCreator — an integrated development environment for <strong>Java</strong>.<br />

JCreator runs only on Microsoft Windows systems. If you use Linux, Unix,<br />

Macintosh, or some other non-Windows system, visit this book’s Web site<br />

for further instructions.<br />

If you have experience installing software, then downloading and installing<br />

JCreator is a routine procedure. Here’s what you do:<br />

1. Look for the JCreator download link on this book’s Web site.<br />

2. Click the download link, and save the file to your computer’s hard<br />

drive.<br />

Like the <strong>Java</strong> API documentation, the JCreator installation comes to you<br />

as a compressed ZIP file. (See Step 3 in the section entitled “Downloading<br />

and installing the <strong>Java</strong> API documentation.”)<br />

3. Unzip the JCreator installation file.<br />

You can extract the file’s contents to any directory on your hard drive.<br />

(Just make sure you remember the directory’s name.)<br />

4. Open My Computer on your Windows desktop.<br />

<strong>Java</strong> virtual machine, and the Application<br />

Programming Interface. With the JDK, you<br />

can create and run your own <strong>Java</strong> programs.<br />

Another name for the JDK is the <strong>Java</strong> SDK — the<br />

<strong>Java</strong> Software Development Kit. Some people still<br />

use the SDK acronym, even though the folks at<br />

Sun Microsystems don’t use it anymore. (Actually,<br />

the original name was the JDK. Later Sun changed<br />

it to the SDK. A few years after that, Sun changed<br />

back to the name JDK. As an author, this constant<br />

naming and renaming drives me crazy.)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!