Add java instructions