Java - Library path error

后端 未结 4 905
野趣味
野趣味 2021-01-06 05:39

I\'m trying to start my java game but I have some troubles with the java command line:

Here is what I type:

C:\\>java -Djava.library.path=%cd%\\lib

4条回答
  •  失恋的感觉
    2021-01-06 06:17

    In Eclipse, if you using maven.

    Add the following to the project "Run" : "VM options" .

    -Djava.library.path=yourpath/youproject/java/target/natives
    

提交回复
热议问题