When you deploy an EGL text program on AIX or Linux, the EGL run time tries to use the UNIX curses library. If the environment is not set up for the UNIX curses library or if that library is not supported, the EGL run time tries to use the Java Swing technology; and if that technology is also not available, the program fails.
The UNIX curses library is required when the user runs an EGL program from a terminal emulator window or a character terminal.
To enable the EGL run time to access the UNIX curses terminal library on AIX or Linux, you must fulfill several steps in the UNIX shell environment. In each of the first two steps, installDir refers to the run-time installation library:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: /installDir/bin
export CLASSPATH=$CLASSPATH: /installDir/lib/fda.jar: /installDir/lib/fdaj.jar
The previous information must be typed on a single line.
export TERM=vt100
If terminal exceptions occur, try various terminal settings such as xterm, dtterm, or vt220.
java myProgram
Make sure that the CLASSPATH environment variable identifies the directory in which your program resides.
For additional details on using the Curses library on UNIX, refer to the UNIX man pages.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.