Tuesday, 22 February 2011

Eclipse change required after Ubuntu upgraded the JRE

Did yet another update for Ubuntu 10.04. It installed JRE 1.6 when earlier had JRE 1.5

As a result Eclipse could not find the required JRE system library. As a result the project gave compilation errors "import java.util.*" cannot be resolved etc.

Eclipse picks up these libraries from the installed JREs. This can be changed from the Project (right click)--> Properties --> Libraries .

So removed the flagged library and added the JRE system library from the installed JRE.

No comments: