Creating a JAR file with Eclipse
Esta página aún no está disponible en tu idioma.
- Choose the Java file from Project Explorer or Navigator view.
- Do right click ( will be shown contextual menu ) and choose “export”.
- Choose Java -> JAR file.
- Select the destination folder, for example C:\openkm-dev\jar\your-class.jar.
- Click Next.
- Click Next.
- Optional step. If your java class implements “public static void main(String[] args)” then you must choose your java class as the class of the entry point.
- Click Finish.
Images
Section titled “Images”Select the file to be exported as a jar. Right click on mouse and select “export” option.

Select “.jar” file option and click on “next” button.

Select the “JAVA classes to be included” into the jar file and click on “next” button.

Click on “next” button.

Select the “Main class” and click on “Finish” button.
