Search code examples
netbeansclonelibraries

Netbeans. How to find out referenced libraries (not included in a project code)?


I have a netbeans project: java Web Application.

Some libraries in the project are'nt included in code directory. e.g.

....netbeans\7.1\var\cache\index\s717\java\14\gensrc\javax\mail\MimeMessage

so when I clone the project in other machine the library isnt found, because the netbeans directory is different. Is there a tool that check it? Maybe a netbeans plugin. thanks!


Solution

  • Try right-clicking on the Libraries in your Netbeans Project Browser, and selecting "Add JAR/Folder". From there, navigate to the JAR you want, and select "Reference as Relative Path".

    Select Relative Path