Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)

248 Chapter 10
Technical Articles
Developer’s Kit for Java/iX
Because the class name is HelloWorld, this program needs to be saved
as HelloWorld.java.
Compiling a Program
The compiler for Java programs is called javac, so the above program is
compiled simply by:
javac HelloWorld.java
This command can be entered at either a CI prompt or at a shell
prompt. The compiler will produce a class file called
HelloWorld.class.
Executing a Program
To run the above program, type at either the CI or shell prompt:
java HelloWorld
Note that the .class extension isn't needed (and will cause an error if
specified).
Where to Go for More Information
For an introductory book on Java, Java in a Nutshell(O'Reilly, 1997),
now available in a second edition covering JDK 1.1, is an excellent
work. Many Java users have recommended Teach Yourself Java in 21
Days(O'Reilly, 1997) as another good starting point. Also highly
recommended is Thinking in Java (Prentice-Hall, 1998) but also
downloadable over the Web from
http://www.EckelsObjects.com/javabook.html.
For more advanced topics, you'll have no problems finding books
focused on the AWT, JavaBeans, JDBC, or just about any other Java
topic. The books published by O'Reilly and Associates, the JavaSoft
Press series published by Prentice Hall, and the official specification
books (The Java Language Specification, the Java Virtual Machine
Specification, and the Java API Specification (two volumes)), published
by Addison-Wesley all are frequently recommended on the Internet by
Java users. Your best bet is to ask others, in a forum such as USENET
or SIG JAVA, for recommendations, or just be prepared to spend some
time browsing at the bookstore before making your selection.
If you want to find resources on the World Wide Web, a search for
"Java" in your Web browser will find more hits than you can possibly
read in your lifetime. The following two URLs are good starting points:
The Official JavaSoft home page http://java.sun.com is updated very
frequently. Check here for new releases of add-on products, such as
the Beans Development Kit (BDK), Java Workshop, or Java Web
Server. On-line tutorials and reference documents are available, plus
access to developer resources and a wealth of other information.