Set the application's entry point: Setting an Application's Entry Point (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files)