kota's memex

Being adjacent to the java ecosystem, kotlin's tooling is terrible. I think most people probably use gradle as a build system.

compile

kotlinc hello.kt -include-runtime -d hello.jar

The -d option indicates the output path for generated class files, which may be either a directory or a .jar file. The -include-runtime option makes the resulting .jar file self-contained and runnable by including the Kotlin runtime library in it.

running the jar

java -jar hello.jar