Which one would be best suited for working with carrot2 source code? I have currently set it up with OpenJDK and works fine.
Carrot2 should work fine with both, OpenJDK is probably easier to manage in terms of its license.