Remove java instructions