java - Using third party libraries with netbeans -


i new java. trying use jsoup in small project. couldn't set netbeans use it.

i have opened folder third party libraries in c:\users\muhammed\jarlibraries , have put jsoup-1.7.2.jar in it. right clicked on libraries , selected add jar folder. project looks this;

enter image description here

as can see image above, netbeans cannot resolve jsoup when fix imports. doing wrong here? how process work?

why placed libary package? thats not how that. instead:

  1. go project properties right clicking on project.
  2. then click on libraries tab, see compile, run, compile tests, run tests tabs.
  3. click on compile tab (the first tab, selected default)
  4. click on add jar/folder button @ right
  5. then browse , select jar file(not folder) want include. included jar file show on following box of compile tab.
  6. click on ok button.
  7. finished.

than added project , classpath.

you imported complete folder project, have single jar file.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -