i suppose that u install sdk1.4 after jre1.3 instalation ,
but your path variable still show older java runtime installation.
shortly, u use
java1.4 classpath and packages
but u compile with java1.3 compiler
and try to run with java1.3....bla bla...
u have to correct your path and classpath variables, than u'll have a nice day.