Take a standalone executable jar file for example, in which we generate from our application with all the dependencies etc. My understanding is that this file contains all the classes etc. compressed.
When we execute this jar file via the command line as follows java -jar myjar.jar
, is this being decompressed on the fly? Does the interpreter first decompress everything before executing or how does this work exactly?