Executing a Jar File
After you have added a jar file, you can execute it from the Jar Files Execute tab.
- In the left panel, highlight a Jar File name.
- In the right-side panel, choose the Execute tab.
- In the Class Name field, specify Start Application or Test Class Loader. If you select Start Application, specify the name of the class to be invoked with the invokeMain method; if you select Test Class Loader, specify the name of the class to be invoked with the Class.forName method
Notice the statement in the SQL field is populated with the value entered in the Class Name field.
- To start the application, choose the Start Application radio button and click the Execute icon.
If successful, the application runs as normal. If unsuccessful, an error is returned.
- To verify the database class path has been updated and the class properly loaded, choose the Test Class Loader radio button and click Execute.
- To create a new instance of the class, choose the Create New Instance radio button and click Execute.
- The Call Static Method radio button displays an example of the statement to call a static method in the class.
Version 5.2
[prev] | [next]