Yes, in Java main is always public static void main(String[] args). Why would you want it to return a value anyways? It would just be returning to the enclosing java.exe process and not to the OS, which isn't very useful.
To exit and return a code to the OS, use System.exit(int code).