Recently I started learning Java, I encountered a problem when compiling code through a terminal (Mac OS X).
Program:
public class HelloWorld { public static void main(String args []) { System.out.println(«Hello World!») } } Moved to the terminal in the directory with the file cd desktop started compiling javac HelloWorld.java , the error message 61 appears:
What is my mistake and how to fix it?
Everything works through NetBeans, but as far as I understand, the very first method, without using additional software through the terminal, I want to learn it.