14
votes

New install.

Scala SBT project.

Full message is:

Error running Scala Console: Cannot start process, the working directory C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.1.4\jre\jre\bin does not exist

It would be nice to have the directory default to somewhere sensible in the current project...I think.

1
Sounds like the Intellij JDK/JRE config points wrong to me? If you look at module settings, does the JDK config show a warning/red maybe? - johanandren
@johanandren It's in the working directory setting for the Run/Debug config. See my answer below. I'm not sure if I'm actually pointing at the current directory with ` . `, but I can get it to run. - ben rudgers

1 Answers

39
votes
  1. From the application menu, selecting Run -> Edit Configurations opens the Run/Debug Configurations dialog.

  2. In the left panel of the dialog, pick Defaults -> Scala Console.

  3. In the Working Directory textbox, enter ..

It would be great to set this as a default, because the tests also require the same manual settings.