This is not problem of your Windows and Eclipse. The problem is created by the Java compiler, to fix it you may do
1- Right-click on your project and select "Android Tools -> Fix Project Properties"
2- Right-click on your project and select "Properties -> Java Compiler", check "Enable project specific settings" and select 1.5 or 1.6 from "Compiler compliance settings" select box