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

Running Java Applications

You actually run Java applications with the Java tool named, appropriately enough, java. This tool is a program that comes with the Java SDK (java.exe in Windows, in the Java bin directory).

Running Java Apps Without the SDK

You don't need the full Java SDK to simply run Java applications. You can get the java tool in the Java Runtime Environment (JRE), which you can get from the Sun Java site at http://java.sun.com/jdk.

To run the ch10_01 application, I use the java tool like this on the command line:

%java ch10_01 

The result appears at once:

%java ch10_01 
Welcome to Java

You can see what this looks like in Figure 10-1, where I'm running this application in a DOS window in Windows.

Figure 10-1. Running a Java ...
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