安装后UnsatisfiedLinkError,无法运行PLAY

时间:2013-08-12 21:40:38

标签: java windows-8 unsatisfiedlinkerror

我陷入了困境。我只是安装了JDK和Play,在PATH变量中添加了所有必需的目录。当我运行PLAY命令时,我得到下面提到的UnsatisfiedLinkError。请让我知道如何解决这个问题。

运行Windows 8 x64和PATH目录

  

C:\ iSanthosh \ dev.tools \播放2.1.3 \; C:\程序   文件\的Java \ jdk1.7.0_25 \ jre的\ BIN; C:\ PROGRAM   Files \ Java \ jdk1.7.0_25 \ bin; C:\ Program Files \ Java \ jre7 \ bin;

错误:

java.lang.UnsatisfiedLinkError: C:\Users\Santhosh\AppData\Local\Temp\jline_0_12_2.dll: Access is denied
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(Unknown Source)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
    at jline.Terminal.setupTerminal(Terminal.java:75)
    at jline.Terminal.getTerminal(Terminal.java:26)
    at jline.ConsoleReader.<init>(ConsoleReader.java:174)
    at jline.ConsoleReader.<init>(ConsoleReader.java:169)
    at jline.ConsoleReader.<init>(ConsoleReader.java:157)
    at play.console.Console$.<init>(Console.scala:15)
    at play.console.Console$.<clinit>(Console.scala)
    at play.console.Console.run(Console.scala:262)
    at play.console.Console.run(Console.scala:259)
    at xsbt.boot.Launch$.run(Launch.scala:55)
    at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
    at xsbt.boot.Launch$.launch(Launch.scala:69)
    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)
Error during sbt execution: java.lang.UnsatisfiedLinkError: C:\Users\Santhosh\AppData\Local\Temp\jline_0_12_2.dll: Access is denied

1 个答案:

答案 0 :(得分:1)

更改您对该文件夹的权限,或者您可以使用sudo

sudo play