Results 1 to 10 of 10
Like Tree1Likes
  • 1 Post By masijade

Thread: Netbeans: How to remove a library I added?

  1. #1
    darrell22 is offline Member
    Join Date
    Feb 2010
    Posts
    7
    Rep Power
    0

    Default Netbeans: How to remove a library I added?

    Dear Experts,

    To start, sorry, I'm just a java beginner.
    Although I've spent a lot of time installing and
    configuring software, and I'm stumped on this one.


    I'm using Netbeans 7.3 on Windows 7, 64 bit.

    Recently, I downloaded opencsv from sourceforge.



    With no previous experience adding libraries, I read a blog post
    on adding the library. I think that I then:

    Start a new project.
    Right click on libraries
    Add jar/folder
    Gave the temporary path to the .jar file




    After, I read the blog post again, and realized I'd missed it.
    This time I did:
    Right click library, Add library, Create library


    However, I kept getting a message that the same library already existed.


    If I do the first process above, I will find the same library.
    However, I see no way in Netbeans to remove it.


    I've deleted the test projects.
    And started a new one.
    But the library now exists for all projects it seems.

    I've grepped all the files under the Netbean directory,
    searching for "opencsv", but found nothing.

    The only things in the Windows registry were locations of files.


    ----

    How can I delete this library permanently from Netbeans?
    Short of, uninstall, then reinstall?

    Is there a way to list all the libraries that Netbeans has?


    Thanks a lot!



  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default Re: Netbeans: How to remove a library I added?

    Tools->Ant Libraries Select Library on left, and click the remove button under that list.
    darrell22 likes this.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,280
    Rep Power
    6

    Default Re: Netbeans: How to remove a library I added?

    I think you can also simply right-click the library in the project tree. There are usually shortcut ways to the same effect.

    In stead of wanting to find solutions in blog posts, I highly suggest you take a half day and simply do nothing else but click through the IDE itself and get a sort of roadmap in your head of where all the bells and whistles are. That's what I always do when I install a new toy, just see what it has and click on everything I see to figure out what it does. If you want to learn programming, you need to not fear the tools and simply go do stuff with them to see what happens. Doing the intelligent thing and starting to read up about the things you can't explain by whacking on it with a hammer first is step two.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    darrell22 is offline Member
    Join Date
    Feb 2010
    Posts
    7
    Rep Power
    0

    Default Re: Netbeans: How to remove a library I added?

    Quote Originally Posted by masijade View Post
    Tools->Ant Libraries Select Library on left, and click the remove button under that list.

    masijade:

    That was spot on! In just 15 words too.

    Thank you!

  5. #5
    darrell22 is offline Member
    Join Date
    Feb 2010
    Posts
    7
    Rep Power
    0

    Default Re: Netbeans: How to remove a library I added?

    gimbal2:

    I'd already thought of, and tried what you were mentioning.
    But the library I added was not even showing up in the list.
    So you don't speak from experience on this issue.


    Last year, I took two java courses.
    I've had an introduction to Netbeans.
    And I've worked in tech since the 90s.


    When I do post anywhere, it's after I've searched
    the tools and the web for a good hour or more.


    Your speculating ("I think"), verbal diarrhea,
    telling me to read the book, figure it out myself,
    do more linear searches,
    rather than just answering the question,
    does NOT help me,
    nor add any value.



    Just the answer please.




    Quote Originally Posted by gimbal2 View Post
    I think you can also simply right-click the library in the project tree. There are usually shortcut ways to the same effect.

    In stead of wanting to find solutions in blog posts, I highly suggest you take a half day and simply do nothing else but click through the IDE itself and get a sort of roadmap in your head of where all the bells and whistles are. That's what I always do when I install a new toy, just see what it has and click on everything I see to figure out what it does. If you want to learn programming, you need to not fear the tools and simply go do stuff with them to see what happens. Doing the intelligent thing and starting to read up about the things you can't explain by whacking on it with a hammer first is step two.

  6. #6
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default Re: Netbeans: How to remove a library I added?

    Way to take friendly advice given to EVERY coder on the planet, and feeling personally attacked. Your rudeness is appalling and you obviously haven't done many proper searches. Five minutes, Google, downloaded Netbeans and asked Google. So maybe you should take a course on how to use Google (No seriously, there really is such a thing) instead of taking time out of your day to be spiteful. If you want just the answer then you're in the wrong spot, just the answer usually does nothing to help the user. Fixing your problem once just to have you bring another one back is much less effective than showing you how to figure it out yourself for next time.

    Right in the NetBeans wiki it tells you that it uses Ant. Not to mention that one of the most obvious places to check is "Projects", "Tools", or "Preferences."
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  7. #7
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,280
    Rep Power
    6

    Default Re: Netbeans: How to remove a library I added?

    Jebus, I missed that one. I wasn't even trying to be an ahole here! Jeepers creepers the nerve of some people.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,732
    Blog Entries
    7
    Rep Power
    21

    Default Re: Netbeans: How to remove a library I added?

    Start the Fish Slapping Dance!

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  9. #9
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,280
    Rep Power
    6

    Default Re: Netbeans: How to remove a library I added?

    No that's for friends, darrell22 is at this point one of my most hated enemies and he'll get the holy hand grenade.
    Last edited by gimbal2; 02-25-2014 at 10:35 AM. Reason: engrish
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  10. #10
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,732
    Blog Entries
    7
    Rep Power
    21

    Default Re: Netbeans: How to remove a library I added?

    Quote Originally Posted by gimbal2 View Post
    No that's for friends, darrell22 is at this point one of my most hated enemies and he'll get the holy hand grenade.
    Don't forget to count to fiv^H^H^Hthree before you throw it ...

    kindest regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. How to remove breakline quote in Netbeans
    By olalavui in forum NetBeans
    Replies: 1
    Last Post: 10-14-2011, 06:04 AM
  2. Add or remove a row on a jtable with Netbeans 6.0
    By Pieter in forum AWT / Swing
    Replies: 8
    Last Post: 07-12-2010, 07:18 PM
  3. import library into netbeans.
    By IYIaster in forum New To Java
    Replies: 8
    Last Post: 03-05-2010, 04:43 AM
  4. Netbeans not recognizing library
    By ehsen in forum NetBeans
    Replies: 16
    Last Post: 08-30-2009, 06:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •