Java common lib