Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij: "Error running Scala Console: Cannot Start Process"

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.

like image 235
ben rudgers Avatar asked Sep 18 '14 18:09

ben rudgers


1 Answers

  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.

like image 187
ben rudgers Avatar answered Sep 27 '22 21:09

ben rudgers