Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started With Kotlin

We begin at the traditional starting point: a simple “Hello World” program.

After that, we consider how to compile more complex multi-file programs from the command line.

We finish by looking at how to manage Kotlin development using build tools.

After completing the work in this section, you will understand how to compile and run Kotlin applications from the command line, both manually and with a build tool. You will also understand the nature of the Kotlin compiler’s output, and the relationship between Kotlin and the Java Virtual Machine.