Netbeans - How to Generate a Jar with Dependencies without Maven

Asked

Viewed 1,138 times

2

I have a project in Netbeans, but I only know Maven and have some project dependencies.

If you build or even run Netbeans everything works smoothly, but I wanted to get the jar and test on other machines.

I tried to export the jar but makes a mistake of ClassNotFound.

How can I do that? What is the right way?

2 answers

2


Additionally, you can add the dependent jars using the traditional method:

File > Project Properties > Libraries > Run-Time Libraries
  • Thank you very much! It worked!

0

  • exactly what I didn’t want.

  • Well, see if the other answer helps you.

Browser other questions tagged

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