One option would be to replace java.lang.System or java.io.PrintStream. You'd have to specify either of those on your boot classpath instead of the normal one, since you can't (IIRC) override java.* ...
In the last year or two, interest in "alternative" languages on top of the Java Virtual Machine has grown exponentially, to the point where three languages were blessed with official acceptance in the ...