Kotlin 2 · Tooling
Compile and run a file
Compile to a jar and run it with the Kotlin runtime included.
kotlinc hello.kt -include-runtime -d hello.jar && java -jar hello.jar
Official Kotlin 2 documentation
Kotlin 2 · Tooling
Compile to a jar and run it with the Kotlin runtime included.
kotlinc hello.kt -include-runtime -d hello.jar && java -jar hello.jar
Official Kotlin 2 documentation
Was this page helpful?