Child pages
  • Test tool for investigating how java sees a system's environment

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Sometimes Java programs operate unexpectedly regarding timezone, file encoding and the like.

I have written a small test program that investigates the things I consider crucial for system dependent behaviour.

To execute SystemInvestigator.java, do something like this:

No Format
wget https://confluence.clazzes.org/download/attachments/2293870/SystemInvestigator.java
 
javac SystemInvestigator.java
java SystemInvestigator |tee SystemInvestigator.log

 

From: IBCL BLog.
Originally posted: 2009-11-03