Hi Eddie,
You can use java 5 or 6 to develop your assigment (compile with it, really you can do with 1.4 but i think it is too old), and finally before you submit it you must
test it with java version that is not more of 18 months old (actually java 6).
I hope it helps you.