简体   繁体   中英

INTELIJ terminal only showing directory instead of running a command prompt

Sorry if it is a dumb question, but i was running my code perfectly and the terminal was reacting when i ran my program.

After turning my laptop off and on I cant seem to get it to show my SOP commands in the terminal. All i get is the directory of where my program is saved in.

我有几个扫描仪提示没有出现在终端/命令提示符中

在您的案例中右键单击 projet,然后右键单击“Lab2”并单击“在终端中打开”

Because Terminal shows the command prompt in which you can write your commands.

If you run your code, you'll probably have a Run button around the Terminal button. Click on Run or Debug whichever button is showing and there you will see your output.

(You can optionally do the traditional javac filename.java and java classname inside the terminal to see your output too if you can't find the Run button, which I think will be somewhere near by)

“运行”按钮旁边的“终端”按钮

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