Kotlin Playground

Hello World

Copy the Hello World example into the editor. This will be automatically synced to the environment.

fun main(args: Array<String>) {
    println("Hello, World!")
}

Compile

kotlinc app.kt -include-runtime -d hello.jar

Run

java -jar hello.jar

Interested in writing your own Kotlin scenarios and demos? Visit www.katacoda.com/teach

app.kt

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]