Add java feature