Can some please tell me how to import in eclipse

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thatos
    New Member
    • Aug 2007
    • 105

    Can some please tell me how to import in eclipse

    I would like to import a Jericho HTML Parser which is the the following file

    E:\project\jeri cho-html-2.5\

    how can I do this
    I am supposed to write the following import function in my java file to import
    Code:
    import au.id.jericho.lib.html.*;
    the file au in under the above folder
    How can I do this?Your help will be appreciated this is for my project.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by thatos
    I would like to import a Jericho HTML Parser which is the the following file

    E:\project\jeri cho-html-2.5\

    how can I do this
    I am supposed to write the following import function in my java file to import
    Code:
    import au.id.jericho.lib.html.*;
    the file au in under the above folder
    How can I do this?Your help will be appreciated this is for my project.
    Do you have the Parser as a .jar file?
    If so, right click your project, select Preferences and then Java build path.
    Then on the panel that is displayed you select the Libraries tab and Click Add external jars to add the required .jar.

    P.S Don't double post. I'll remove your other identical post.

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by r035198x
      P.S Don't double post. I'll remove your other identical post.
      Done already.

      kind regards,

      Jos

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by JosAH
        Done already.

        kind regards,

        Jos
        Thanks Jos.

        Comment

        • thatos
          New Member
          • Aug 2007
          • 105

          #5
          Originally posted by r035198x
          Do you have the Parser as a .jar file?
          If so, right click your project, select Preferences and then Java build path.
          Then on the panel that is displayed you select the Libraries tab and Click Add external jars to add the required .jar.

          P.S Don't double post. I'll remove your other identical post.
          Thank you very much I import the jar file and it worked.

          Comment

          Working...