
When a program is compiled before execution, the compiler can search for errors in it. This compile process affects how and when errors occur. Following that, the program gets executed, meaning the commands are executed one-by-one by a Java-interpreter that is able to read Java bytecode. This compilation process is done by Java's compiler, which itself is a program. When a program is run, the source code is first compiled into Java bytecode. To open this up, just find the Terminal program on your computer, and run it.You can run a program in TMC by pressing the green play button, or by selecting "Run project" from the TMC menu.Įven though running the program is straightforward, a lot is happenings behind the scenes.



To use it, you edit your file from within Emacs, and then you compile using the javac command from the terminal.

It can appear indimidating, but working with Emacs can help you to understand the inner workings of a Java program in ways that the other tools don’t. Emacs is a powerful, text-based text editor.
