Community
Participate
Working Groups
Build Identifier: It does not seem possible to import a .jar file within a project. Reproducible: Always Steps to Reproduce: 1. Right click within Projects 2. Select Import There seems to be no option to import a .jar file, whilst this has been documented at http://www.eclipse-blog.org/eclipse-ide/exportingimporting-jar-files.html, perhaps for a different version. Please advise.
You can use File > Import > Archive. Please use the newsgroups/forum to ask questions before opening a bug report.
It won't work as expected with .JAR files, however, I found another option after a while, which allowed me to import an external JAR. Would you consider having "on mouse hover" kind of help because Eclipse includes extensive functionality, and, it is a pity that some of it is not immediately and intuitively available.
>It won't work as expected with .JAR files Probably depends on what you expect ;-) What exactly did you try to achieve?
(In reply to comment #3) > >It won't work as expected with .JAR files > Probably depends on what you expect ;-) > > What exactly did you try to achieve? Just trying to configure Apache Log 4j logging services (http://logging.apache.org/log4j/1.2/manual.html), and, including the .JAR is a good way to start trainng.
In that case there is no need to import the JAR but simply add it the Java build path.
(In reply to comment #5) > In that case there is no need to import the JAR but simply add it the Java > build path. Noted thanks, I guess you are referring to the Preferences > Java > Build Path > Classpath Variable option.
(In reply to comment #6) > (In reply to comment #5) > > In that case there is no need to import the JAR but simply add it the Java > > build path. > > Noted thanks, I guess you are referring to the Preferences > Java > Build Path > > > Classpath Variable option. No. You would either use 'Add JARs...' or 'Add External JARs...' on the 'Libraries' tab.