Home > Net >  Create jar file from single class file
Create jar file from single class file

Time:10-24

Is there any possibility to create a jar file, not for the entire project, but only for one class file in IntelliJ? In that file, I don't need all libraries and etc. I need only files with a specific class.

CodePudding user response:

Take a look at the enter image description here

To build the artifact please use Build | Build Artifacts from the main menu.

See https://www.jetbrains.com/help/idea/working-with-artifacts.html for more information.

  • Related