Skip to main content


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 19:33 Go to next message
No real name is currently offline No real nameFriend
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 22:08 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
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 18:20] by Moderator

Report message to a moderator

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


Current Time: Fri Apr 26 16:34:18 GMT 2024

Powered by FUDForum. Page generated in 0.07671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top