Fork of MRJAdapter library for support Java 6+