Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>First of all, The example folder name (and the folder name that you have installed sbt) cannot include "!". this probably applies to other special characters as well. Even, I recommend to install SBT in a folder that has no space on its path (and the same thing for examples folder).</p> <p>For example, if you have installed SBT (or examples folder) on a path like:</p> <pre><code>/Users/dashti/My Programs/sbt-0.12.1 </code></pre> <p>You can re-install it a path like:</p> <pre><code>/Users/dashti/MyPrograms/sbt-0.12.1 </code></pre> <p>By applying this naming change, if the error is gone, please ignore the rest of this post.</p> <p>Otherwise, to fix the mentioned error, first find sbt executable script, then edit it and correct any problem in it:</p> <p>If you are using a UNIX-based operating system, please follow these steps:</p> <p>1- Find SBT: Open a terminal and type this command:</p> <pre><code>which sbt </code></pre> <p>and you will receive a path like:</p> <pre><code>/Users/dashti/Documents/scala-2.10.0/bin/sbt </code></pre> <p>and in this file, there is a command for executing a java program, like:</p> <pre><code>java -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128M -jar `dirname $0`/sbt-launch.jar "$@" </code></pre> <p>2- Edit sbt script: by entering this command in terminal:</p> <pre><code>vim /Users/dashti/Documents/scala-2.10.0/bin/sbt </code></pre> <p>you will be able to edit this file and maybe you should change the memory usage arguments to a lower specification ( You should think about whether you have enough RAM to be running the sbt). For example, this one will be a better choice:</p> <pre><code>java -Xms64M -Xmx256M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=64M -jar `dirname $0`/sbt-launch.jar "$@" </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload