Reputation: 46422
In an eclipse project there was once the classpath variable JAVA_TOOLS (pointing somewhere to the Java installation). I don't need the variable anymore, so I removed it from the project, but eclipse still complains
Unbound classpath variable: 'JAVA_TOOLS' in project '...'
and refuses to do anything. I've removed the variable also from eclipse and cleaned the project. The command find . -type f | xargs grep JAVA_TOOLS
returns no matches, so I have no idea where the reference may still exist.
Upvotes: 0
Views: 2157
Reputation: 46422
After having tried everything else (including refresh, eclipse restart with --clean
, ...) I finally came to the trivial idea to close and reopen the project. It helped...
So it looks like such things get cached somewhere outside of the project directory.
Upvotes: 1