Add Java Library support