Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: how to install a pakcage?

  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    101
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default how to install a pakcage?

    hi its the first time i have had to install a package not included in default netbeans and cant get it to work im using ubuntu and downloaded jsoup from software center so it is defo installed correctly as it was taken care of by the good people in debian but i cant use it in netbeans
    Document doc = Jsoup.connect("http://stackoverflow.com/questions/3036638/how-to-extract-web-page-textual-content-in-java").get();
    String title = doc.title();
    both these commands show red lines under and i can fix imports and if i type

    import org.jsoup.Jsoup;
    manually this allso has red line under it .
    is there anythig else im suppossed to do thanks ?


  2. #2
    Member
    Join Date
    Apr 2013
    Posts
    101
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default Re: how to install a pakcage?

    for those who might have sam prob i found solution
    In the Projects window right-click on the name of the project that lacks library ->
    Properties -> The Project Properties window opens. In Categories tree select "Libraries" node ->
    On the right side of the Project Properties window press button "Add JAR/Folder" ->
    Select jars you ne

  3. The Following User Says Thank You to bean For This Useful Post:

    pbrockway2 (April 5th, 2013)

Similar Threads

  1. Where to install Netbeans
    By korrigan in forum Java IDEs
    Replies: 2
    Last Post: January 30th, 2013, 11:53 AM
  2. [SOLVED] failed install jwsdp??
    By hertom.lear in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 4th, 2012, 10:49 PM
  3. install network program
    By ferrarini in forum What's Wrong With My Code?
    Replies: 32
    Last Post: May 30th, 2012, 02:05 PM
  4. how to install the JVM?
    By warnexus in forum Java IDEs
    Replies: 3
    Last Post: September 1st, 2011, 11:33 AM