CreateProcess failed. Code 267

Hi, I’m super new to this and i’m using IntelliJ for the first time. I’m following Mosh’s Java tutorial and get an error everytime i try to open Main.java in terminal. I get the following message:

Cannot open Local Terminal
No Such Directory: C:/…
Error running process: CreateProcess failed. code 267

Since im new to this and dont know what to make of this. any Ideas?

Thanks upfront.
Tom.

Going through the same trouble. Have found no solution. No one seems to have answered you yet. What did you do?

Hope you are well
Luis