removed java ref