HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kotlin — Kotlin application launcher. More information: <https://kotlinlang.org/docs/command-line.html#compil

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlauncherclikotlininformationmoreapplication

Problem

How to use the kotlin command: Kotlin application launcher. More information: <https://kotlinlang.org/docs/command-line.html#compile-a-library>.

Solution

kotlin — Kotlin application launcher. More information: <https://kotlinlang.org/docs/command-line.html#compile-a-library>.

Run a jar file:
kotlin {{filename.jar}}


Display Kotlin and JVM version:
kotlin -version

Code Snippets

Run a jar file

kotlin {{filename.jar}}

Display Kotlin and JVM version

kotlin -version

Context

tldr-pages: common/kotlin

Revisions (0)

No revisions yet.