Removed unused file.
Potentially fixed a bug with java versions.
Added output streams.