If the -jar option is specified, then the first non-option argument is the name of a JAR file containing class and resource files for the application, with the startup class indicated by the Main-Class manifest header. A fully qualified class name should be used. The method declaration has the following form:īy default, the first argument without an option is the name of the class to be called. The method must be declared public and static, it must not return any value, and it must accept a String array as a parameter. ![]() It does this by starting a Java runtime environment, loading a specified class, and calling that class's main method. The java command starts a Java application.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |