< Day Day Up > |
Choosing a Java Development ToolSeveral different integrated development environments are available for Java programming. NetBeans includes tools you will use all the time: a text editor, compiler, graphical user interface designer, file archiving tool, and project manager. The IDE also includes tools that aren't essential now, as you're getting started with the language, but may become indispensable later, including a debugger, Java servlet and JavaServer Pages editing and testing tool, and code versioning system. NetBeans supports Java 2 version 5 and can be configured to support other versions, so you can continue using it as Sun releases new versions of Java. Installing NetBeansNetBeans works by using the Java Development Kit behind the scenes. For this reason, you must have both NetBeans and the JDK installed on your system. Sun makes this easy by offering them as a "bundle" that can be downloaded and installed together. To see what versions are available for download, visit the web page http://java.sun.com/j2se/1.5.0/download.jsp. When you visit the page for JDK 5, you should be able to download the bundle. At the time of this writing, the product is called the JDK 5.0 Update 3 with NetBeans 4.1 Bundle.
The NetBeans bundle is currently available for the following platforms:
The Windows and Linux versions of NetBeans require a computer with a Pentium III processor that is 500 MHz or faster, around 600MB of free disk space, and 256MB of memory.
To set up NetBeans, you must download and run an installation program (or install it from a CD). After you have downloaded the file, you're ready to set it up on your system. Running the Installation WizardTo install up the NetBeans/JDK bundle on a Windows system, double-click the installation file icon or click Start, Run from the Windows taskbar to find and run the file. An installation wizard guides you through the process of setting up the software. If you accept Sun's terms and conditions for using NetBeans and the JDK, you'll be asked where to install the program, as shown in Figure C.1. Figure C.1. Choosing a destination folder for NetBeans.The wizard suggests a folder where the bundle should be installed. In Figure C.1, the wizard suggests the folder C:\Program Files\netbeans-4.1. If you want to pick a different folder, click Browse and use the Open dialog box to find and select a location. After you have chosen the desired folder, click Next to continue. The installation wizard may ask whether files ending with the .java and .nbm extensions should be associated with the software. These files are Java source code files and NetBeans modules files—check the boxes to make it possible to open these files in NetBeans by double-clicking them in a folder. The wizard displays the folder where NetBeans will be installed and the amount of space required (107MB in the current release). Click Next to begin installation. |
< Day Day Up > |