Vscode-code-runner: Cannot run Kotlin

Created on 12 Jun 2017  路  1Comment  路  Source: formulahendry/vscode-code-runner

Hello,

I am having hard time to run Kotlin. Can you please help?

Here is my setup;

image

image

image

Error I am getting:

image

Am I missing something here?

question

Most helpful comment

You need to update kotlin in 'code-runner.executorMap' of https://github.com/formulahendry/vscode-code-runner/blob/master/package.json#L128.

"kotlin": "cd $dir && C:\\Programs2\\***\\kotlinc.bat $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar"

>All comments

You need to update kotlin in 'code-runner.executorMap' of https://github.com/formulahendry/vscode-code-runner/blob/master/package.json#L128.

"kotlin": "cd $dir && C:\\Programs2\\***\\kotlinc.bat $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar"
Was this page helpful?
0 / 5 - 0 ratings