I'm writing a small wrapper that downloads the lat...
# announcements
k
I'm writing a small wrapper that downloads the latest version of the kotlin compiler and runs a .kts script. Unfortunately I'm getting "unresolved reference: println". Here's my cmd output:
Copy code
Z:\Repos\kotlinw>java -cp Z:\Repos\kotlinw\target\local-repo\org\jetbrains\kotlin\kotlin-compiler-embeddable\1.0.0-beta-2423\kotlin-compiler-embeddable-1.0.0-beta-2423.jar org.jetbrains.kotlin.cli.jvm.K2JVMCompiler -script Z:\Repos\kotlinw\foo.kts
foo.kts:1:1: error: unresolved reference: println
println("Hello World")
^
Any tips?