adding array to common.green in java