You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i am a new in code i am taking a course on Kotlin and i have an issue i download a Kotlin in vscode and when i run a simple code its give me an error as i know i download the latest
java 17 and add it to path this is my code i want to understand what i missing and how i do solve the error and thank you.
fun main() {
println("Hello World")
}
and this is the output
[Running] cd "c:\Users\tariq\Desktop" && kotlinc Hello World.kt -include-runtime -d Hello World.jar && java -jar Hello World.jar
error: source file or directory not found: Hello
error: source file or directory not found: World.kt
error: source file or directory not found: World.jar
[Done] exited with code=1 in 2.459 seconds
The text was updated successfully, but these errors were encountered:
i got the answer after many try when i save my file there was a space like that Hello World.kt and this is wrong i should to save my file without space like that HelloWorld.kt
Hi i am a new in code i am taking a course on Kotlin and i have an issue i download a Kotlin in vscode and when i run a simple code its give me an error as i know i download the latest
java 17 and add it to path this is my code i want to understand what i missing and how i do solve the error and thank you.
fun main() {
println("Hello World")
}
and this is the output
[Running] cd "c:\Users\tariq\Desktop" && kotlinc Hello World.kt -include-runtime -d Hello World.jar && java -jar Hello World.jar
error: source file or directory not found: Hello
error: source file or directory not found: World.kt
error: source file or directory not found: World.jar
[Done] exited with code=1 in 2.459 seconds
The text was updated successfully, but these errors were encountered: