Skip to Content
Real World XML
book

Real World XML

by Steven Holzner
January 2003
Beginner to intermediate content levelBeginner to intermediate
1200 pages
23h 42m
English
Peachpit Press
Content preview from Real World XML

Compiling Code

We have the complete file, ch10_01.java, and we're ready to run it. The first step is compiling it into a bytecode file, ch10_01.class. To compile ch10_01.java, you use the Java tool javac, the Java compiler (on Windows machines, this program is called javac.exe and is located in the bin subdirectory). Here's how you use javac in general (all the arguments here are optional, and I'll place them in square brackets to indicate that, which is the convention Sun itself uses in the java documentation):

javac [options] [sourcefiles] [files] 

Here are the arguments to javac:

  • options— Command-line options. See the Java documentation for the details; we won't need any command-line options here.

  • sourcefiles— One or more code files to be ...

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

Inside XML

Inside XML

Steven Holzner
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0735712867Purchase book