how to run compiled class file in Kotlin?

后端 未结 5 671
花落未央
花落未央 2020-12-01 16:03

Jetbrains provides some documentation but I can\'t find how to run compiled class file of Kotlin.

hello.kt:

fun main(args : Array) {
           


        
5条回答
  •  孤街浪徒
    2020-12-01 16:19

    I'm run jar which use kotlin like this

    java -cp target/idea_test-1.0-SNAPSHOT.jar:lib/kotlin-runtime.jar testing.first seyfer
    

    Hello seyfer seed!

提交回复
热议问题