Virtual machines use up to twice the computing resources normally required.
(The virtual machine is the program that interprets or, in some cases, compiles and runs the compact Java bytecodes that make up a Java program.)