Chapter 3. Java Tools

One of the nicest things about Mac OS X is its very broad range of tools. The Classic Mac OS platform had many software development tools, of which the most popular and flexible was Metrowerks CodeWarrior. The release of Mac OS X, however, has broadened the range of available tools tremendously, and a large set of Java- and Unix-based tools is now available. Mac OS X also ships with Project Builder, an integrated desktop environment for programming in several languages, including Java.

It’s worth taking the time to review the various tools. If you’re an old emacs or vi hand, you’ll be able to access those tools (just fire up the Terminal). Even if you’re an emacs or vi addict, you still might want to browse through the tools just to get an idea of what folks are talking about.

Terminal

The revolutionary thing about Mac OS X for a developer is a single, boring window with a blinking cursor. Double-click on the main icon for your computer on the desktop, navigate into the Applications directory, and then into Utilities. Inside this folder, you’ll see a Terminal icon. Double-click on this icon to open the application.

You’ll then see a “Welcome to Darwin!” message and a localhost prompt. The shell is the Unix standard tcsh, which stands for “Tenex csh.” csh was the default shell for BSD Unix through the 1980s (and Mac OS X is based on BSD Unix). tcsh is an upward-compatible enhancement of csh, which includes “command completion” borrowed from an early 1970s ...

Get Mac OS X for Java Geeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.