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:
![](https://static.packt-cdn.com/products/9781787123175/graphics/assets/b93380e9-2943-4ce5-b46e-973ac528b33e.png)
Choose Kotlin Plugin for and click on the Confirm button, as shown in the following screenshot:
![](https://static.packt-cdn.com/products/9781787123175/graphics/assets/2139b4b7-0889-4353-a10d-398c3accefbe.png)
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.