Moving to OT > Soft Dev.
Manny,
There are two changes:
0) Make sure youa re using atleast Eclipse 3.1, Eclipse 3.0 didn’t support JDK 1.5
1) Navigate to your Window > Preferences > Java compiler settings and be sure to set the compliance level to 1.5.
2) Install the Sun 1.5 (5.0) JDK from Sun’s site, next time Eclipse starts up it will find it, use this JDK as yuor default when running programs.