Remove java reference