Hi,
I am not able to find instructions on how to compile a Hello World program and run it using a “Standalone compiler” from a command line. Is that hidden somewhere?
By trial and errors, I did something like this. Is there an easier way?
``
bash> cd $HOME
bash> unzip kotlin-0.4.68.zip
bash> chmod a+x kotlinc/bin/*
bash> cat << ‘EOM’ > Hello.kt
fun main(args : Array<String>) {
println(“Hello”)
}
EOM
bash> kotlinc/bin/kotlinc-jvm -src Hello.kt -jar hello.jar
bash> java -cp “kotlinc/lib/*:hello.jar” namespace
Hello
It would be nice this be part of Getting Started Guide such as here http://confluence.jetbrains.net/display/Kotlin/Getting+Started
Zemian