To run a Kotlin class, right-click on the HelloWorld.kt file and click on Run As | Kotlin Application, as shown in the following screenshot:
Hello, World is printed on the console, as shown here:
In this section, we quickly created a Kotlin project in Eclipse and ran a simple Kotlin application. In the next section, let's create a Spring Boot project using Kotlin.