I have been developing my application in the Oracle JDK 1.6 development environment. When I move it to a different environment the code started getting broken, until I figured out the culprit was the environment was configured to OpenJDK 1.6.
After I installed Oracle JDK 1.6 in the second environment everything looks alright. Out of curiosity, how does the same Java version implementation have this effect? Aren't these implementations for the same specification?