The simple answer is No, the reason the specification is this, the JVM will only look for main , and not for any user name, as a starting point. It should be called primary with exact signature public static void main(String[] args)
Logically, it’s also understandable how the JVM knows that instead of the main method, it should look for boot or something else, unless the java command could pass the start method.
But this is just too much, because there is no good reason.
Secondly, since its standardization helps the community of developers, those who look at the code know how to run this standalone java program, or say if you have a project, your first item will always look for the main method, and from there you move on .
source share