Set parameters command line run JAVA

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/quantum7/article/details/102763602

  A few days ago to compile JDK successful, then it would test. How to test? Of course, the command line is run. Run-time results, suggesting that the application can not find the required dll (Division I write). How to do? To add parameters.

D:\openjdk8\...\bin\java -Djava.library.path=abc -jar Test.jar

 

Guess you like

Origin blog.csdn.net/quantum7/article/details/102763602