Java for Library Compatibility?