NonStop Server for Java 6.0 Programmer's Reference

2 Getting Started
Although this manual assumes that you are familiar with using Java and HP NonStop Open System
Services (OSS), this section provides background information for persons not familiar with these
products. Additionally, this section explains how to perform common tasks that are characteristic
to running Java applications on NonStop systems. The topics are:
“Learning About the Prerequisites (page 30)
“Verifying the Java Installation (page 32)
“Tutorial: Running a Simple Program, HelloWorld” (page 32)
“Specifying the CPU and Process Name with Which an Application Runs (page 34)
“Configuring a Java Pathway Serverclass (page 35)
Learning About the Prerequisites
If you are not familiar with using Java and OSS, the following topics describe how you can get
this background information.
“Learning About Java (page 30)
“Learning About Open System Services (OSS)” (page 30)
Learning About Java
Many tutorials and books about the Java programming language are available publicly.
The Sun Microsystems web site provides links to many tutorials, including:
Tutorials page of the Sun Developer Network, http://www.oracle.com/technetwork/java/
index-jsp-135888.html
Java Technology Learning, http://java.sun.com/learning/index.jsp
Java Standard Edition JDK 6.0 documentation, for example, http://docs.oracle.com/javase/
6/docs/index.html
A bookseller may have many Java tutorials and guides. However, the number of books available
about Java is too great to list in this manual and new books or new editions are published often.
When choosing a Java tutorial or book, check that the information is appropriate for use with the
JDK 6.0 implementation. Also, books and tutorials about how to write graphical user interfaces
are not useful because the NonStop Server for Java 6.0 is a headless implementation.
Learning About Open System Services (OSS)
OSS is the open computing interface to the HP NonStop operating system—the operating system
for NonStop servers. Java applications run in the OSS environment.
The user interface in the OSS environment is called the "OSS shell". The OSS shell is a program
that interprets the commands you enter, runs the programs you ask for, and sends output to your
screen. The OSS shell supports the Korn shell (sh), a shell common to UNIX systems.
The default shell prompt is a $ (dollar sign). (This is the default prompt for the Korn shell.) Throughout
this manual, a $ is used to represent the OSS shell prompt.
Depending on your programming experience with NonStop systems or UNIX systems, use the
following sources to gain the prerequisite knowledge to run Java applications on NonStop systems.
“The Open System Services User's Guide” (page 31)
“UNIX Tutorials (page 31)
30 Getting Started