The directory where you put it in what follows. If you unpacked it somewhere else, just replace
Is unimportant, but for simplicity's sake this book assumes you install it Manager's File menu and typing the path to the file.Īrchive including all necessary directories and sub-directories. Execute the file byĭouble-clicking on its icon in the File Manager or by selecting Megabytes of free disk space to install the JDK. The Win32 X86 releases are self extracting archives. You may also have to use regedit to delete any keys Windows Installation Instructionsįirst deinstall any previous versions of the JDK you may have installed,Įspecially if you want to put the new JDK in a different directory. This is quiteĮasy on the Mac, not too difficult on Unix, and quite a chore on Windows,Įspecially if you're installing over an older version of the JDK. Once you've downloaded the JDK, you'll need to install it. It's buggy, out-of-date, non-standard,Īnd causes as many problems as all other IDEs combined.ĭo not use Visual J++ under any circumstances! If you absolutely must use an IDE, I'll issue a particular warningĪbout Visual J++. Tend to cause more problems than they solve. Sun's Java Workshop, and Microsoft Visual J++. Metrowerks Code Warrior, Borland JBuilder, WinGate Visual Cafe, To be actively destructive at worst and almost as usable as So far I've found all the IDEs I've tried This book does not assume you'll be using an integrated The JDK to different platforms including:ĭevelopment Kit 1.3 from Sun Microsystemsįor Java 2.2 from Apple (same as JDK 1.1.8), PowerMac onlyĭevelopment Kit 1.2 from Sun Microsystemsįairly primitive compared to what's available for C++. Many different companies have ported various versions of However, JDK 1.3 isn't available for all platforms yet,Īnd the differences between JDK 1.2 and JDK 1.3 aren't very important for the Version of the JDK is 1.3, and this will work as well.
These are available in a number of configurations and versions.įor purposes of this book you'll need the Java 2 Software Development Kit, version 1.2 However most of theĭocumentation for the JDK is on Sun's web site.
Profiler, the javah header file generator (for integrating C into your JavaĬode), the Java debugger and limited documentation. The JDK also includes the javac compiler, the
Instead it includes an applet viewer that lets you view and test your applets. Platforms it supports (Windows, Solaris, X86 Linux) Instance, your web browser will probably be the same copy of Internet Explorer It isn't necessary to get all pieces from the same source. Like a debugger, a visual development environment, and a classīrowser are nice but aren't absolutely necessary. You'll also need a text editor like emacs, The basic Java environment consists of a web browser that can play JavaĪpplets, a Java compiler to turn to Java source code into byte code, and a Java In this chapter, you download the software you need to Getting Java Software for your Platform.Installing Java The Java Developer's Resource, Chapter 2: Installing Java