Using the display table sample
Start the sample in the parent directory of the directory com/ibm/dni/sample. This is the directory you used during installation, for example .
java com.ibm.dni.sample.DisplayTable definition_file -db db_name It
is possible that Java™ needs
more memory than usual. If you encounter problems, use the Xmx<size>
parameter for Java. The following
example gives Java a maximum
heap size of 50 MB. java -Xmx52428800 com.ibm.dni.sample.DisplayTable definition_file -db locationIf you experience problems, use the -printstacktrace parameter. This provides you with a detailed Java Exception stack trace.
You can adjust the content of the definition files, or even copy and modify their definitions. Further information is contained in the definition files delivered with the sample.
You can also modify and recompile the sample Java source file DisplayTable.java. The file resides in the com/ibm/dni/sample subdirectory of your sample installation directory, for example /u/user/displaytable/com/ibm/dni/sample/DisplayTable.java. The comments in the DisplayTable.java file explain the program logic. Use the Java compiler delivered with your preferred JDK (1.6 or above) to compile the program.