How to run my first kotlin "Hello world"
Dear Friends,
Today is my first day in Kotlin study. I installed kotlin compiler and try to run my first code
fun main()
{
println("First Program")
}
I created my jar file using command
D:\Kotlinplay>kotlinc First.kt -include-runtime -d first.jar
successfully created first.jar file
but when I try to run using command
D:\Kotlinplay>java -jar first.jar
no main manifest attribute, in first.jar
How to solve this issue ?
Please advise ASAP.
Thanks
Anes P A
1 post - 1 participant...