You can use JDK 1.6 or 1.5 (1.6 is recommended).
Do you need to use 1.4? (you would have to apply a small change in the code)