Adds java instructions.