Modified compressor ports in java

Signed-off-by: shrimpboyho <shrimpboyhoftw@gmail.com>