Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 458
Karate_Dog Avatar asked Aug 25 '11 04:08

Karate_Dog


2 Answers

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.

like image 144
Rajeev Sreedharan Avatar answered Oct 04 '22 14:10

Rajeev Sreedharan


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

like image 35
Madhav Lakkapragada Avatar answered Oct 04 '22 15:10

Madhav Lakkapragada