Class Main

java.lang.Object
  extended byMain

public class Main
extends java.lang.Object

Main program providing the method/entry main, always to be used to start the application (class containing main provided as the first argument to this Main.main method), thereby permitting an enhanced class-loader to be used. Note that the application should work even if started the ordinary Java way by calling main in any class, but by always starting via this Main class you achieve two things:

For packaging a specific standalone application, the user is expected to wrap the calls of
java Main mypkg.MyApp all the args
in suitable start scripts, named according to the generated target system native applications. In other words, if a JVM is started or not is a matter of implementation and should not add to the complexity for the user.

See Also:
Monitor, Condition, License

Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)