Skip to main content



      Home
Home » Newcomers » Newcomers » adding external JAR files to project
adding external JAR files to project [message #213947] Tue, 05 June 2007 16:51 Go to next message
Eclipse UserFriend
Originally posted by: navodit.kaushik.citigroup.com

Hi
I need to add the log4j jar file to my project in eclipse. As per
http://download.eclipse.org/eclipse/downloads/documentation/ 2.0/html/plugins/org.eclipse.jdt.doc.user/reference/ref-123. htm,
when I right click on the java project in the package explorer and select
properties, I should see "Java Build Path" clicking on which should give
me the libraries tab where I can add the jar file. However when I right
click on my project in the package explorer, and select properties, I only
see the following:
Info
Builders
Project References
Subversion
i.e. there is no "Java Build Path", "Java Code Style" or "Java Compiler"
displayed in this case. Can anyone suggest why this may be occuring? Thanks

nk
Re: adding external JAR files to project [message #213956 is a reply to message #213947] Tue, 05 June 2007 17:47 Go to previous messageGo to next message
Eclipse UserFriend
nk wrote:

> Hi
> I need to add the log4j jar file to my project in eclipse. As per
>
http://download.eclipse.org/eclipse/downloads/documentation/ 2.0/html/plugins/org.eclipse.jdt.doc.user/reference/ref-123. htm,
> when I right click on the java project in the package explorer and select
> properties, I should see "Java Build Path" clicking on which should give
> me the libraries tab where I can add the jar file. However when I right
> click on my project in the package explorer, and select properties, I only
> see the following:
> Info
> Builders
> Project References
> Subversion
> i.e. there is no "Java Build Path", "Java Code Style" or "Java Compiler"
> displayed in this case. Can anyone suggest why this may be occuring? Thanks

> nk

Hi. A couple of very basic questions. (1) I assume when you created the
project, you specified "New Java Project" in the wizard? (2) What do you
see when you select the "Builders" in properties? (3) Try creating a new
java project and see if it does the same thing. Hope this helps. Mark
Dexter
Re: adding external JAR files to project [message #213964 is a reply to message #213947] Tue, 05 June 2007 19:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

nk wrote:
> Hi
> I need to add the log4j jar file to my project in eclipse. As per
> http://download.eclipse.org/eclipse/downloads/documentation/ 2.0/html/plugins/org.eclipse.jdt.doc.user/reference/ref-123. htm,
> when I right click on the java project in the package explorer and
> select properties, I should see "Java Build Path" clicking on which
> should give me the libraries tab where I can add the jar file. However
> when I right click on my project in the package explorer, and select
> properties, I only see the following:
> Info
> Builders
> Project References
> Subversion
> i.e. there is no "Java Build Path", "Java Code Style" or "Java Compiler"
> displayed in this case. Can anyone suggest why this may be occuring? Thanks

Yours is not a Java project. If you check it out from CVS this is a
somewhat common mistake to make.
In any case, you'll need to re-create the project:
1) delete the project from your Eclipse workbench, making sure to choose
the option to NOT delete the contents when prompted.
2) On your file system, remove the .project file from the project directory.
3) Go through the process of creating a new project, making sure to
choose "Java project" as the typ in the wizard. When prompted, choose
the same name and/or location as the project you already had (from Step 1).

Hope this helps,
Eric
Re: adding external JAR files to project [message #214046 is a reply to message #213964] Wed, 06 June 2007 09:38 Go to previous message
Eclipse UserFriend
Originally posted by: navodit.kaushik.citigroup.com

Yes that was the problem. While checking it out from SVN repository I
somehow missed to specify it as a Java project. Thanks
Previous Topic:How to change font size of .txt files
Next Topic:Error while using SpringFramework within Eclipse
Goto Forum:
  


Current Time: Tue Jul 22 14:46:07 EDT 2025

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

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

Back to the top