Разница между компиляцией и выполнением в Java

To compile means to check for any errors. It is like a grammatical check while execution means to run it. 
Xerothermic Xenomorph