NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
shahdharmit
Joined: 16 Oct 2009 Posts: 5
|
Posted: Fri Oct 23, 2009 6:40 am Post subject: Can't import a jar in the project. |
|
|
Hello,
I use Fedora 11 and have installed netbeans 6.5 on it. I downloaded a jar package that I wanna include in my project. I did some googling and found that I need to right click on the project, go to its propertis and in Libraries, I need to add the jar package. I did that. In spite of doing that when I do | Code: | | import net.sourceforge.jpcap.capture; | I get an error saying | Quote: | | package net doesn't exist | . The package net.sourceforge.jpcap-0.01.16.jar that I wanna include is in /usr/lib/jpcap-0.01.16/jars folder.
In a post somewhere on other forum, someone wrote that he had to delete the very 1st line of the package. I tried that too but it didn't work out that way either.
Can someone please point me what mistake am I doing or some other way to solve the issue?
Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|