NonStop Server for Java Programmer's Reference (NSJ 4.2+)

Describes how to run the OSS shell using the osh command.
Creating Files
Describes how to create new files in the OSS environment using the vi text
editor.
Note that you can avoid using the vi text editor by creating the files in
another environment and using the File Transfer Protocol (FTP), the ftp
command, or another utility to put the files in the OSS file system. The
HelloWorld sample, shown later in this section, uses this method.
The following sections are a tutorial that introduces many of the frequently used OSS user
commands and utilities to perform the particular tasks:
Creating files
Managing files
Managing directories
Managing access to files and directories
Managing processes
UNIX Tutorials
Public sources of informationsuch as, classes and tutorialson using UNIX systems through the
Korn shell are highly applicable to using the OSS environment. You might find these sources a
good first step in learning about the file system, commands, and utilities characteristic of the
OSS environment.
Verifying the Java Installation
Ask your system administrator where the NonStop Server for Java Server 4 software is
installed. Knowing that, you can verify the installation and verify your environment. This
example assumes that NonStop Server for Java 4 is installed in a nonstandard locationthe
directory:
Note: If your NonStop Server for Java 4 software is installed in the standard
location (/usr/tandem), skip Step 4 and Step 5 and specify the location values
accordingly.
/home/lee/jdk142
1. Set the PATH environment variable by using the following command at the OSS prompt:
$export PATH=/home/lee/jdk142/java/bin:$PATH