Karate_Dog
Karate_Dog

Reputation: 1277

Unbound class path variable java android eclipse

What does the meaning of Unbound Class Path variable on Eclipse? I got the error and don't know how to fix it.

Upvotes: 12

Views: 27152

Answers (3)

user1995889
user1995889

Reputation:

Cause

Variable specified in .classpath not found.

Resolution

Goto Eclipe -> Preferences -> Java -> Build Path -> Classpath Variables

Check if the specified variable is available.

If not , Add it along with the expected value.

Upvotes: 3

Madhav Lakkapragada
Madhav Lakkapragada

Reputation: 59

In one of the projects I just created, the M2_REPO classpath variable was not defined. Defining the M2_REPO (not M2_Repo, which is what I had) variable fixed the error.

- m

Upvotes: 5

Rajeev Sreedharan
Rajeev Sreedharan

Reputation: 1753

What does the meaning of Unbound Class Path variable on Eclipse?

It's a warning message that says, a classpath variable is no longer valid.

I got the error and don't know how to fix it.

I'm sure you also get a description of which varible was unbound.

Goto Eclipe -> Preferences -> Java -> Build Path -> Classpath Variables

Check if the said variable/jar file is present and add/edit if required.

Upvotes: 25

Related Questions