|Oracle8i Java Developer's Guide
Release 3 (8.1.7)
Part Number A83728-01
System.out and System.err print to the current trace files. To redirect output to the SQL*Plus text buffer, use this workaround:
The minimum (and default) buffer size is 2,000 bytes; the maximum size is 1,000,000 bytes. In the following example, the buffer size is increased to 5,000 bytes:
Output prints at the end of the call.
For more information about SQL*Plus, see the SQL*Plus User's Guide and Reference.