kotlin language not working with use of command prompt and notepad
I installed Kotlin command line compiler
wrote following program as '.kt' and saved it as hi1.kt
'fun main(args:Array)
{
println("Hi")
}'
i tried to compile it by usual way in cmd with
kotlinc hi1.kt -include-runtime -d hi1.jar
shows warning as parameter 'args' never used and
if i try to run program by
java jar hi1.jar
shows
Error:could not find or load main class jar
Caused by:java.lang.ClassNotFoundException : jar
can any body help me with situation what should i do
Note:-I have set...