Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Adding compiled classes to your application
Adding compiled classes to your application [message #518709] Thu, 04 March 2010 14:33 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: March 2010
Junior Member
I'm new to eclipse so bear with me. I have an application with import statements pointing to classes previously compiled. There is no source code. I've identified the .jar file in WEB-INF/lib directory.

How do you add a jar file to your application? Any URLs detailing steps would be great to start. Clealy this is not my application and I'm starting out with Java.

Thank you.

Re: Adding compiled classes to your application [message #518774 is a reply to message #518709] Thu, 04 March 2010 17:08 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3138
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/4/2010 12:33 PM wrote:
> I'm new to eclipse so bear with me. I have an application with import
> statements pointing to classes previously compiled. There is no source
> code. I've identified the .jar file in WEB-INF/lib directory.
>
> How do you add a jar file to your application? Any URLs detailing steps
> would be great to start. Clealy this is not my application and I'm
> starting out with Java.
>
> Thank you.

There are a number of ways. Here's one...

Right-click on your project and choose Build Path. Or, if you don't see
that, choose Preferences, the Build Path down the left-hand side.

Then, choose the Libraries tab.

There, you'll see a button to Add External JARs. Use that.

Ask again if this isn't enough.

Russ

[Updated on: Tue, 13 April 2010 14:20] by Moderator

Report message to a moderator

Previous Topic:Workspace question
Next Topic:Eclipse on RHEL4 x86_64
Goto Forum:
  


Current Time: Fri Aug 01 05:58:11 EDT 2014

Powered by FUDForum. Page generated in 0.01603 seconds