Before we are able to use Kotlin in Eclipse, we will need to install the Kotlin plugin in Eclipse.
Creating a Kotlin project in Eclipse
Kotlin plugin
The Kotlin plugin can be installed from https://marketplace.eclipse.org/content/kotlin-plugin-eclipse. Click on the Install button shown in the following screenshot:

Choose Kotlin Plugin for and click on the Confirm button, as shown in the following screenshot:

Accept defaults in the subsequent steps to install the plugin. The installation will take a little while. Restart Eclipse once the installation of the plugin is complete.