Working java lib