How to Call the Main Method

You typically start Java applications (outside the database) by running the Java VM on a class that has a main method.

For example, the Invoice class in the file %ALLUSERSPROFILE%\SybaseIQ\samples\JavaInvoice\Invoice.java has a main method. When you execute the class from the command line using a command such as the following, it is the main method that executes.

java Invoice