adding java application plugin