add jar as type.