JarStdioTerminal

A Standard I/O Terminal For JAR Files
Download

JarStdioTerminal Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT License
  • Publisher Name:
  • Sanjay Dasgupta
  • Operating Systems:
  • Windows All
  • File Size:
  • 26 KB

JarStdioTerminal Tags


JarStdioTerminal Description

A Java JAR is a great way of packaging class files for distribution. It solves many deployment problems for J2SE projects, but it also creates a big problem for those that use console input/output -- the standard I/O files (System.out, System.err and System.in) do not work any more. This is a problem for utilities which need console I/O (even if for only a few things like error reporting). System.out and System.err are simple, direct, intuitive and frequently used. The loss of console I/O capability (and any messages sent to System.out or System.err) completely without warning can, therefore, be critical for these programs. This console terminal is attached to a JAR by adding its class files to the JAR, and changing the manifest file's "Main-Class" entry. But it does not require any change to the application code. The terminal can therefore even be retrofitted onto existing JAR files -- magically restoring all lost console I/O capabilities without needing to touch the application code. (The information originally in the manifest's "Main-Class" entry is moved to another file also in the JAR) Get JarStdioTerminal and take it for a test drive to see what it can do for you!


JarStdioTerminal Related Software