If you add the -source 1.4 flag you will NOT get 1.4 compatible classfiles. All that does is flag 5.0 only features as errors in the code, effectively ensuring whether it would compile using a 1.4 compiler.
You also need to add the -target 1.4 flag.
But remember that the 1.4 target flag still doesn't change the implementation details. If you remember right, I had a similar problem where I wanted 1.4 source code written in 1.5 to work on 1.4 JRE's, but it never did. You told me to try those flags, and from there we decided that the details were still different.
Reputation Points: 113
Solved Threads: 19
Postaholic
Offline 2,108 posts
since Jun 2004