I follow this (https://kotlinlang.org/docs/tutorials/command-line.html) instruction. I set the environment variable (windows 7) to bin directory run "kotlinc" at the command line i get the following error (I even navigate to the bin directory from the command prompt)
Error: Could not find or load main class org.jetbrains.kotlin.preloading.Preloader
its because spaces in path to kotlinc. Need to convert path from D:/Program Files to D:/.