Your question presupposes that the main reason for Java's widespread adoption was that it runs in a VM. That is not true. Java as a language was designed to be significantly more productive than C++ in the context of enterprise software development, regardless of whether its compiled or not.