The type of main() is void (public static void main(String args[]) {)
and therefore you cannot return a value from it.
The actual error I get when I run this is:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Void methods cannot return a value