• Post Reply Bookmark Topic Watch Topic
  • New Topic

Incorporating Java Libraries  RSS feed

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:

I am responsible for an application which the developer did not build with ANT and also, he had the libraries sitting on his local machine.

Do you have any recommendations on what I should do with these libraries, knowing they were parcelled out and sitting on his local machine instead of in the project itself (Eclipse IDE workspace)?

I am a little confused by this and am building a script in ANT but don't really know what to do with his libraries. I did get a bunch of compilation errors earlier when I did not have the libraries, but now that I have them, I don't really know where to put them.

Any advice helpful.

Many Thanks,
Michele
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should Java Project -> Properties -> Java Build Path -> Add External Jars. The pathing doesn't matter as long as at runtime, the classloader can find them.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!