title: Programming Dart in Sublime Text 3, Changing Path to dart-sdk
body: <p>I downloaded Sublime Text 3 on my 14.04 Ubuntu machine, installed Package Control, and installed the Dart Plugin. I also have the dart-sdk that I downloaded from dartlang.</p>
  
  <p>I went into the user preferences file in Sublime Text and added</p>
  
  <pre><code>"dart_sdk_path": "/home/arnold/Documents/dart/dart-sdk",
  </code></pre>
  
  <p>For good measure, I also tried </p>
  
  <pre><code>"dartsdk_path": "/home/arnold/Documents/dart/dart-sdk",
  "dart-sdk_path": "/home/arnold/Documents/dart/dart-sdk",
  </code></pre>
  
  <p>When I try to compile to JavaScript using dart2js, with <code>Ctrl+Shift+P</code> and selecting Build: Dart: dart2js, I get the following error:</p>
  
  <pre><code>[Errno 2] No such file or directory: 'dart2js'
  [cmd: ['dart2js', '--minify', '-o/home/arnold/Documents/ECE161/Python/Flask/templates/dart.html.js', '/home/arnold/Documents/ECE161/Python/Flask/templates/dart.html']]
  [dir: /home/arnold/Documents/ECE161/Python/Flask]
  [path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]
  [Finished]
  </code></pre>
  
  <p>I've already told Sublime Text where the sdk is, right? So why is it pointing to </p>
  
  <pre><code>[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games] 
  </code></pre>
  
  <p>and how can I fix this, if that's the issue.</p>