aussiemcgr is right.
Back in the days java was rather slow because its byte code needed to be interpreted to be run. Today, black voodoo magic (the JIT) happens in the background to compile the java...