NetRexx User's Guide, version 2.02
Copyright (c) IBM Corporation, 2001. All rights reserved. © | Draft of 22 May 2001 |
[previous | contents | next] |
\java13\jre c:\java1.2\jre /opt/IBMJava2-13/jreIt will contain directories such as bin and lib.
Note: if your Java home directory is on a CD-ROM, or on an unwritable shared disk, you'll need to leave the NetRexx files elsewhere and set up CLASSPATH and PATH environment settings to refer to them. Consult your Java toolkit and operating system documentation for details on how to do this.
hello.nrx -- a simple NetRexx program for testing NetRexxC.cmd -- the NetRexx compiler command in Rexx NetRexxC.bat -- similar NetRexx compiler batch script (Windows .bat) NetRexxC.sh -- similar NetRexx compiler shell script for Linux and Unix nrc.cmd -- shorter name for NetRexxC.cmd nrc.bat -- shorter name for NetRexxC.bat nrc -- shorter name for NetRexxC.shThe .cmd files are simple Rexx scripts for making it easier to use the translator. You don't have to use these, but they save some typing. They should require little modification to run under the Rexx interpreter for your platform; for details of Rexx interpreters, see: http://www2.hursley.ibm.com/rexx/ Under Windows, the .bat files should serve the same purpose they are not as flexible as the Rexx .cmd files, but will save typing.
set classpath=%CLASSPATH%;c:\java1.2\lib\tools.jar(with the path changed as appropriate) would add the tools.jar to the existing classpath in an OS/2 or Windows system. The procedure for setting the CLASSPATH variable depends on your operating system (and there may be more than one way), as described in the Setting the CLASSPATH section.
set classpath=.;%CLASSPATH%This is needed if you cannot compile and run test programs from within a directory other than in the Java tree.
NetRexx installation is now complete. Now would be a good time to check that it works, as described in the Testing the NetRexx Installation section.