我想在Ubuntu 11上安裝播放框架2.0.1。我已經添加了在ubuntu中播放的路徑,我已經配置了SUN JRE 1.6(java/javac),並且給出了讀/寫/執行對劇本的特權。然而,當我運行'play help'時,我仍然收到下面複製的錯誤 - 播放目錄應該只包含'documentation','repository','framework'&'samples'子目錄,還是應該包含其他子目錄。任何有用的建議將受到歡迎。播放框架安裝
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:900)
at xsbt.boot.Locks$.apply0(Locks.scala:34)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at scala.collection.mutable.FlatHashTable$class.$init$(Proxy.scala:32)
at xsbt.boot.Launch$ScalaProvider.<init>(Launch.scala:110)
at xsbt.boot.Launch$$anonfun$1.apply(Launch.scala:84)
at org.apache.ivy.plugins.namespace.NamespaceRule.newEntry(Cache.scala:17)
at org.apache.ivy.plugins.namespace.NamespaceRule.apply(Cache.scala:12)
at xsbt.boot.Launch.getScala(Launch.scala:86)
at xsbt.boot.Launch$.run(Launch.scala:49)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:43)
at xsbt.boot.Launch$.launch(Launch.scala:68)
at xsbt.boot.Launch$.apply(Launch.scala:14)
at xsbt.boot.Boot$.runImpl(Boot.scala:25)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.io.IOException: No such file or directory
當我在我的主目錄中設置播放目錄時起作用 - 以前我正在嘗試/ opt。我會再次檢查播放目錄中的權限,並回復任何反饋。我相信我已經讀取/寫入/執行權限,甚至嘗試將其作爲sudo運行(但似乎我錯過了一個或幾個步驟)。希望能幫助到你。 –