User guide
Chapter 7: Developing Applications
7-48
C:\>set CLASSPATH=C:\Interstage\F3FMsso\ssoatzag\lib\isssomod14.jar
C:\>set JAVA_HOME=C:\Interstage\JDK14
C:\>set PATH=%JAVA_HOME%\bin;%PATH%
# sh
# CLASSPATH=/opt/FJSVssoaz/lib/isssomod14.jar
# export CLASSPATH
# JAVA_HOME=/opt/FJSVawjbk/jdk14
# export JAVA_HOME
# PATH=$JAVA_HOME/bin:$PATH
# export PATH
(3) Compiling Sample Java Sources and Converting Them to Files
Use the javac command to compile sample Java sources under the sample directory, then use the jar
command to convert them to jar files. For javac and jar command details, refer to the J2SDK
documents provided by Sun Microsystems, Inc.
Example
Interstage install directory: C:\Interstage
C:\>cd C:\Interstage\F3FMsso\ssoatzag\sample\javaapi
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi>javac -d . ISSsoJaas.java
ISSsoAction.java
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi>jar cf isssojaas.jar
sample\ISSsoJaas.class
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi>jar cf isssoaction.jar
sample\ISSsoAction.class
C:\Interstage\F3FMsso\ssoatzag\sample\javaapi>
Working directory: "/home/jaastest"
# cp -r /opt/FJSVssoaz/sample/javaapi /home/jaastest
# cd /home/jaastest/javaapi
# javac -d . ISSsoJaas.java ISSsoAction.java
# jar cf isssojaas.jar sample/ISSsoJaas.class
# jar cf isssoaction.jar sample/ISSsoAction.class
#