Take a look at these posts:
JDK 1.7 info and JDK 1.6 info. In other words, anything after JDK 1.6 update 22 should be OK on version 4.x of Mendix