DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    2

    Using Library In Eclipse (How to correctly add/use it)

    Hi, I have a JAR file that is a library that i need to access during runtime.

    Im building a Eclipse Plugin and cant figure out how to setup the library correctly and correctly use it.

    If i create a library (By properties on the project -> build -> add external jars) I can then easily import it and access its functions. However when i run my plugin it doesnt seem to add the library and it crashes because it cannot access the methods in the library.

    How do i correctly use a JAR file as a library in eclipse such that when I build and run the plugin it will work correctly?

    Thanks for any help.

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Welcome to DevX

    Does this help?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Eclipse Dynamic Library
    By Quantum55 in forum Java
    Replies: 0
    Last Post: 08-03-2006, 08:06 AM
  2. MyEclipse 5.0 Supports Eclipse 3.2
    By jense in forum Java
    Replies: 0
    Last Post: 05-22-2006, 11:13 AM
  3. Working with Crystal Report Ver 10
    By AM003295 in forum VB Classic
    Replies: 4
    Last Post: 08-12-2005, 09:13 PM
  4. Replies: 1
    Last Post: 09-05-2002, 09:01 AM
  5. Bring Your User Interface to the Printed Page with the XtraPrinting Library
    By Developer Express in forum dotnet.announcements
    Replies: 0
    Last Post: 03-21-2002, 07:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links