title: error during sbt execution: java.nio.channels.overlappingfilelockexception from windows command prompt
body: <p>I'm trying to install sbt on windows 7 but testing it, I get the following error:</p>
  
  <pre><code>java.nio.channels.OverlappingFileLockException
      at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
      at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
      at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
      at java.nio.channels.FileChannel.tryLock(Unknown Source)
      at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:88)
      at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:81)
      at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
      at xsbt.boot.Using$.withResource(Using.scala:11)
      at xsbt.boot.Using$.apply(Using.scala:10)
      at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
      at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:52)
      at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
      at xsbt.boot.Locks$.apply0(Locks.scala:31)
      at xsbt.boot.Locks$.apply(Locks.scala:28)
      at xsbt.boot.Update.apply(Checks.java:100)
      at xsbt.boot.Launch.update(Launch.scala:266)
      at xsbt.boot.Launch.retrieve$1(Launch.scala:136)
      at xsbt.boot.Launch$$anonfun$3.apply(Launch.scala:144)
      at scala.Option.getOrElse(Option.scala:108)
      at xsbt.boot.Launch$$anon$2.call(Launch.scala:129)
      at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
      at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:81)
      at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
      at xsbt.boot.Using$.withResource(Using.scala:11)
      at xsbt.boot.Using$.apply(Using.scala:10)
      at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
      at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:52)
      at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
      at xsbt.boot.Locks$.apply0(Locks.scala:31)
      at xsbt.boot.Locks$.apply(Locks.scala:28)
      at xsbt.boot.Launch.locked(Launch.scala:165)
      at xsbt.boot.Launch.app(Launch.scala:82)
      at xsbt.boot.Launch.app(Launch.scala:80)
      at xsbt.boot.Launch$.run(Launch.scala:51)
      at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
      at xsbt.boot.Launch$.launch(Launch.scala:60)
      at xsbt.boot.Launch$.apply(Launch.scala:16)
      at xsbt.boot.Boot$.runImpl(Boot.scala:31)
      at xsbt.boot.Boot$.main(Boot.scala:20)
      at xsbt.boot.Boot.main(Boot.scala)
      at SbtJansiLaunch.main(SbtJansiLaunch.java:4)
  Error during sbt execution: java.nio.channels.OverlappingFileLockException
  </code></pre>
  
  <p>which seems related to the fact that I do have access to my remote HOME drive according to this post:
  <a href="https://groups.google.com/forum/#!topic/simple-build-tool/lJvOvZ5RUwE" rel="nofollow">https://groups.google.com/forum/#!topic/simple-build-tool/lJvOvZ5RUwE</a></p>
  
  <p>I tried to follow what they suggest, but I have never found any <code>sbt.boot.properties</code> file. I have also tried to overwrite the boot and working dir via:</p>
  
  <pre><code> sbt -sbt-dir C:\my\new\home -sbt-boot C:\my\new\home
  </code></pre>
  
  <p>Would any of you have gone through all these problems and could have a step-by-step recipy to solve that ?</p>