Not quite. Different VMs work with different specifications of the language, and some leverage proprietary extensions (coughMScough). In theory, given the same language spec, the VMs should work the same, albeit more slowly or quickly depending on implementation. Microsoft lost a lawsuit to Sun...