Just type
java in command prompt. You will get the useage help. When i tried in 1.5 version i did not find -target as option.
Since you have 1.4 try out in 1.4 version if you get -target option. If you get this, then it is clear that JDK1.5 don't support -target option....