I started using Ant, that ships with Eclipse. It annoys me, that I get hundreds of warnings in the lines of:
[javac] warning: java\\io\\BufferedInputStr
Follow these steps:
C:/Program files/Java
and delete the previous JDK.JAVA_HOME
and PATH
Environment Variables with the new JDK.If there is a broken link with a jar in previous JDK, Eclipse will notify you. I solved in this way the problem with tools.jar
ant reference, but it is a general way to find the solution.