Upgrade Eclipse java compiler

后端 未结 7 2237
南笙
南笙 2021-02-20 17:32

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

相关标签:
7条回答
  • 2021-02-20 18:15

    I solved my warning with answer from Bao. I had JDK1.6 installed before. Then installed JDK1.7 and ant was stil using JKD1.6 for compiling.

    What I have changed is also set the JDK for the project: right click on project > properties > Java Build Path

    If you have JDK1.6 here, try to change it to JDK1.7.

    0 讨论(0)
提交回复
热议问题