When you deploy an EGL text program on AIX® or Linux®, the EGL runtime 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 runtime 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.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: /installDir/bin
export CLASSPATH=$CLASSPATH: /installDir/lib/fda6.jar: /installDir/lib/fdaj6.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.