简体   繁体   中英

intellij IDEA - Edit Configuration

I installed IntelliJ IDEA with Java10. I am having troubles with the build and run. I am being asked to edit the configuration. I have specified the JDK 10 in the module settings. Is that a bug ?

如果没有配置,我无法选择构建和运行

从这里我可以打开一个新窗口来配置运行设置-虽然我不知道如何继续

在此处输入图片说明

在此处输入图片说明

And, I get this error when I try to compile with a random configuration setting.

Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException :

this part is really confusing and not really user-friendly and well documented by JetBrain I find

我需要哪种配置来构建项目-已经指定了JDK(10)

Right mouse click on the code window and select Run Your_file_name.kt It will show you the green button to run the script instantly like below screenshot. click on that button. 在此处输入图片说明

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