Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2008, 06:09 PM
Member
 
Join Date: Jul 2008
Posts: 1
chrvi is on a distinguished road
How to make Apache Commons (StringUtils etc...) work with Eclipse?
Hello,

I downloaded Apache Commons Lang (commons-lang-2.4-bin.zip) to be able to use StringUtils and such stuff.
I don't, however, know how to make it work in Eclipse.
I would just like to use its methods from other Eclipse projects of mine...

Is there an easy way how to use/add/install such components in Eclipse?

The extracted zip file contains three jar files so (as it can be seen in the attached picture) I created a new Eclipse project "commons" and in its properties (Java Build Path / Libraries) I added all the three jars.

Nevertheless, I still can't use any of the org.apache.commons.lang methods in my projects since org.apache cannot be resolved.
I did edit my projects properties (Java Build Path / Projects) so that thay contain the newly created "commons" project but it didn't help.

Any hint?


And still I'm confused that I can't see any java files in the new "commons" project although the commons-lang-2.4-sources.jar actually does contain java files...

Thanks in advance.
Attached Images
File Type: jpg Eclipse projects LQ.jpg (95.9 KB, 4 views)

Last edited by chrvi : 07-31-2008 at 06:21 PM.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Work on Struts with Eclipse, how? Unni Eclipse 2 11-17-2008 08:13 AM
Can't make JTable work -- please help!! cagalli83 Advanced Java 0 02-13-2008 11:31 AM
How to make popups like in eclipse ekadosh SWT / JFace 0 02-04-2008 09:58 AM
To make work DLL from webservices Felissa Advanced Java 1 07-05-2007 09:07 PM
org.apache.commons.mail.EmailException: Cannot find valid hostname Ed Advanced Java 2 07-02-2007 10:03 PM


All times are GMT +3. The time now is 02:23 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org