The application project type is used for launching and debugging Java programs.
Main Class Name
The fully qualified name of the main class must be supplied (a main class is a class that contains the static void main(String[]) method). The main class should be locatable on the project's classpath. If BugSeeker cannot find the main class when you attempt to start a debugging session, an error message will be displayed on the Console and you will not be able to debug your application (note that if the Pause session when uncaught exception thrown feature is enabled from Breakpoint | Exception Breakpoints, a debug session will start however you will be tracing through the ClassNotFoundException that is thrown whenever the Java runtime cannot find your main class).
Executable JAR File
You may also specify the full path to an executable JAR file that will be used to launch your application to be debugged. You may enter the path to the executable JAR file directly into the text field or you can click on the browse button and select the JAR file using the file chooser that will appear. In either case, if you do supply a JAR file you must ensure that it is indeed an executable JAR file (ie. one that has a Main-Class manifest entry). If you are not sure if your JAR file is executable or you do not know how to specify that a JAR file be executable, please consult Sun's JAR tool docs that come with the Java 2 SDK documentation download for details.
When you specify an executable JAR file to be launched, please also ensure that the Launch as Executable JAR option is checked so that BugSeeker will attempt to launch your program from the JAR otherwise it will treat the entry in the text field as a main class name.
Main arguments
You can optionally supply any arguments to your application by entering them in this text field. If you supply filename arguments (especially relative filenames), realize that the current user directory is the directory in which BugSeeker was started from unless you have specified a custom user directory in the Runtime tab and you are also running BugSeeker on a Java 1.3 or above runtime.
If you need to supply command-line arguments containing spaces, surround the argument with double quotes (the quote character can be changed in the project properties Advanced tab) so that the text within the quotes are to be treated as a single argument rather than several. If you need to pass the quote character itself as one of the arguments you will need to change the current quote character in the Advanced tab to some other character. This holds true for all quote characters except double quote character (") which needs to be also escaped with a backslash character (\) before it is actually passed as one of arguments.
Java Virtual Machine Arguments
If you need to pass special arguments to the debug JVM, you can do so by entering them in this text field. See Appendix C for list of JVM argument flags that BugSeeker accepts.