Community
Participate
Working Groups
Using ECLIPSE 3.0 M5 + JAVA 1.4.2_03 I target everything default (1.4). On my W98, since I upgraded simultaneously from ECLIPSE 2.1.2 + JAVA 1.4.2 to (as mentioned) and since I marked warning for incompatible binaries (I just warn for anything) because that seems OK on W2000, ECLIPSE flags warnings on every class file produced as being targeted on 1.2 but (of course) built against 1.4 Setting the preferences to target to 1.3 (can't even set them to 1.2) the complaints change into: targeted on 1.1 but built against 1.3 Could this be a W98 problem or a 1.4.2_03 incompatibility? ;JOOP!
This warning tells you that you are compiling against libraries tagged as 1.4, but you currently will generate binaries which are targeting a lesser JRE level. You can turn off this warning if you want, but you can address this by raising your class files level as follows : Preferences>Java>Compiler>Compliance and Classfiles>JDK Compliance >Compiler compliance level> 1.4 >Generated .class files compatibility> 1.4 This warning is flagged against the referring project, not against generated files. Also, if you believe you don't need these offending libraries, you could also exclude them from the installed JRE directly (under Preferences>Java>Installed JREs>...).