Hi Alton.
Couple of things:
- I have
java version 1.4.2_03 and its the only one on my machine.
- I always use eclipse to compile and run my code. Version of eclipse is 2.1.2. I configured eclipse to use the installed jdk 1.4.2_03.
Steps I took after reading your post:
- Compiled and ran the code outside eclipse (used notepd). Compiler is still the alredy installed jdk 1.4.2_03
- Code compiled and ran fine!
So I'm arriving at a conclusion that this might be an
IDE problem? But the IDE is using jdk 1.4.2_03?
Thanks.