Kotlin – IntelliJ IDEA Hello World

Screenshot 20181225 122513

Start Intellij and click Create new Project Select Kotlin from the left panel and then Kotlin/JVM from the right panel. Click Next. Specify a project name, location and everything else you need to. Click Finish. Expand Hello World, right-click src, select New and then Kotlin File/Class. This way you will create a new file at the src folder. You will see the following window. Specify the name and click OK. Type the following code: fun main(args: Array<String>){ println(“Hello World!!!”)} In Kotlin the main entry point is the main function. The…

Kotlin – IntelliJ IDEA Hello World Read More

Linux Ubuntu- Install IntelliJ IDEA

Screenshot 20181225 081538

This is a good IDE for Kotlin. First, you need to download Intellij IDEA. To download it click here. Click .TAR.GZ if you want to download it without JDK. Open terminal and go to the location you downloaded the file. Unpack the file you have downloaded to the /opt location or any other location in your home directory sudo tar xf ideaIC-2018.3.2.tar.gz -C /opt/ Then go the Intellij directory and then then bin. cd idea-IC-183.4886.37/bin/ run idea.sh ./idea.sh When IntelliJ IDEA starts, you will see the first time configuration: Import…

Linux Ubuntu- Install IntelliJ IDEA Read More