简体   繁体   中英

Cant Run or Debug Kotlin In IntelliJ Idea

since Jetbrains released a new version of IJ, i removed my old version and installed (2017.3.4) the final version !! but when i start a new kotlin project i don't have Run/Debug on my right click !! and when i click on Run from Run menu it gives me a small window that says [Run:Edit Configuration] !! i haven't seen something like this before!! and by the way when i enable the REPL from kotlin sub menu it shows an error :

You're running the REPL with outdated classes !!

i reinstalled it but its still the same.....even removed the java...nothing changed. help me please, attached a screenshot....

screen shot from IJ

在此处输入图片说明

You are unable to run or debug because you have written nothing in your class. .This screenshot shows how to add run configuration for your js file.

This second link is screenshot of simple Hello World program and you get run/ debug option when you right click on class, go through it please.

I hope this helps, if you find it useful then upvote please.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM