in the eclipse how to generate a project jar aquivo?

Asked

Viewed 2,318 times

3

In eclipse how to generate a file .jar of the project to use in another application

1 answer

5


Find in the Package Explorer view the project from which you want to generate the JAR file, right-click and select the Export option.

inserir a descrição da imagem aqui

In the Wizard that appears, type the word "jar" in the text box "Select an export Destination" and it will display several options that present relevant content according to what was typed. Select the JAR File (Java) option and click the "Next" button. inserir a descrição da imagem aqui

The next step of Wizard is the JAR Export window - where the structure of the chosen project is displayed. There is the option to select which classes (resources) will be exported into the JAR. In addition to the classes, it is necessary to define the directory and the file name. jar that will be generated - in the text box "Select the export Destination - JAR File"

inserir a descrição da imagem aqui

In the application you want to add the . Jar, just click Import this time.

Source: http://blog.coding4fun.com.br/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.