Distribute the Java project to the operating environment by exporting a JAR file.
JAR File Package (JAR Export)
Use the export wizard to create the JAR file. To start the export wizard, select [File] > [Export].
Deploying applets
Include the description of the JAR file in the HTML file used to deploy the applet.