NEWBIE: Eclipse jar not "jarred"

Dear Eclipse Experts,

I have several projects each incorporating a package.  When I use the "Export" utility (exactly the same way) to create jars and move them to another directory, some of the resulting jars are showing up with "jar" symbol which I can then look inside.  Others are showing up in the "text file" symbol, which I cannot look inside.  What's worse, one of those "text file" jars is not recognized when I try to import it elsewhere.

I'm a newbie at all this.  Any clues to what I'm doing wrong here?

Thanks,
BrianMc1958
BrianMc1958Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BrianMc1958Author Commented:
Addendum: When I do the "Export" it says it finished with warnings.  When I look at the warnings, they are all simple "this variable was not used" warning.  Everything compiles OK.
0
Manikandan ThiagarajanSenior consultantCommented:
>>this variable was not used

that means you are not using that variable in your program
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianMc1958Author Commented:
I understand that.  I was just mentioning the warnings in case it might have a bearing on my larger problem.  The main problem is that other projects aren't recognizing some of my jars, and I don't know why.  I'm just guessing it might be the warnings.
0
radarshCommented:
Hi BrianMc1958,

Those that are shown with the "jar" symbol will be on your buildpath.
Others simply aren't in the buildpath.

You can get the Jar symbol by putting any jar in the build path.
Go to Project Properties, select Java Build Path, go to libraries tab,
Select add jars and select and add your jar.

Once you click ok, you should be seeing your "JAR".

And don't worry about the not used warning. It will do no harm. It's only a way
eclipse uses to make sure you write clean code.
________
radarsh
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.