If you are talking about Java RTS, then there is little chance that you will get decent realtime behavior on a virtual machine of any kind. In fact, the webpage says that you need a realtime-capable OS, and it lists:
- Solaris 10 (Update 6, Update 7)
- SUSE Linux Enterprise Real Time 10 Service Pack 2 (SP2) update 6 (2.6.22.19-0.22-rt kernel)
- Red Hat Enterprise MRG 1.1 Errata (2.6.24.7-126.el5rt kernel)
EDIT
Java RTS on top of a virtualization platform is problematic. When run in (for example) a VMware virtual, the Java RTS and its host OS do not have control over physical machine resources, and therefore are not in a position to make the performance guarantees required to implement realtime behavior. Hypothetically, you might be able to do this if the virtualization platform (including the base OS) was fully realtime capable. But I've never heard of such a thing ... and I have doubts that it is even possible.
As a corollary, I'd be very surprised to hear that Java RTS works "in the cloud". It would suffer from the same problems as an in-house virtualization platform, etc, plus the problems you have the internet between you and it.