Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

Building Applications with MRJAppBuilder

If you have the Developer Tools software suite installed on your Mac, then you can use the MRJAppBuilder application, found in /Developer/Applications, to bundle Java files into Mac OS X-style applications. This program is intended for use by Java developers to make their programs more Mac-friendly, but Mac users who know a thing or two about Java can also use it in order to assert friendliness upon Java programs they encounter.

Figure 10-4 shows MRJAppBuilder’s main interface. As you can see, the most important information you need to provide is the name of the Java class that contains the main method, which you can type into the “Main classname” field. Alternately, you can click the Choose... button to navigate through your filesystem and find the .jar or .class file that contains this class. Once selected, MRJAppBuilder presents you with a menu of all the classes that file defines, as Figure 10-5 shows.

MRJAppBuilder

Figure 10-4. MRJAppBuilder

MRJAppBuilder’s class menu

Figure 10-5. MRJAppBuilder’s class menu

Choosing an output file

Figure 10-6. Choosing an output file

You can then supply the application-to-be’s class path by placing it as a colon-separated list in the Classpath text view. (Unfortunately, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata