My
IDE is eclipse 3.0 .
I am using compareToIgnoreCase() method of
String class which was introduced in jdk 1.4.
I have specified jdk version as 1.4 by specifying all the options inside Project->properties->
Java Compiler->Compliance and classfiles:
Compiler compliance level 1.4
have unchecked the checkbox Use default compliance settings
Generated .class files compatibility 1.4
Source compatibility 1.4
Same thing is seen on Windows->preferences dialog box as well.
The eclipse IDE is pointing jdk 1.4.2 as done by pointing windows->preferences->installed jres to the jdk 1.4.2.
But eclipse shows the error the method compareToIgnoreCase not found in Type String.
Note that same code compiles without any problem in the other IDE with the same settings of JDK.
[ February 16, 2005: Message edited by: Jitesh Sinha ]