Warning: "bad path element"

Every time I compile I get a warning that reads:

Information: warning: bad path element "": no such file or directory

I assume that somehow an empty path exists in the compiler's path list. I'm more than willing to remove the offending element but I have no idea where it might be. It's not (AFAIK) in any of the paths I can find. Does anyone have a similar problem and/or know of a fix.

It's not a big deal -- everything works just fine -- it's just annoying.

3 comments
Comment actions Permalink

I'm also getting this..
Any solutions?

0
Comment actions Permalink

I've got the same problem. Also i get a warning for some other jars, wich are (no longer) in my classpath.

VERY annoying :(

0
Comment actions Permalink

I have seen this caused by an invalid "Class-Path" entry in the manifest of a library jar file (in my case, commons-logging). If you don't want to edit the jar, you can disable the compiler warning by adding "-Xlint:-path" to the additional compiler command line parameters.

0

Please sign in to leave a comment.