diff --git a/Runtime-Environments.md b/Runtime-Environments.md index 936c214..65b8eba 100644 --- a/Runtime-Environments.md +++ b/Runtime-Environments.md @@ -76,4 +76,6 @@ Internally Groovy is executed with `java` JDK runtime and standard Groovy librar ## Kotlin -TODO \ No newline at end of file +Kotlin source codes are compiled to class files with `kotlinc` compiler and then executed with `java` runtime, with addition of Kotlin libraries as dependencies. Like Java, Kotlin uses our [javarun](https://github.com/ReCodEx/utils/blob/master/runners/java/javarun.java) wrapper executor which finds `main` method and executes it. + +Internally Kotlin is executed with `java` JDK runtime and standard Kotlin libraries are added to the execution. Added libraries are `kotlin-stdlib.jar` and `kotlin-reflect.jar`. These libraries has to reside in `/opt/kotlin/lib/` unless the solution will not be executable. If Kotlin dependencies are not provided the execution will probably fail on loading of some of the Kotlin specific classes. \ No newline at end of file