开发者

Setting native library path

My native library resides at C:\Mywork.

How do I set the native library path towards C:\Mywork using both command prompt line an开发者_如何学编程d the path variable?


In the PATH variable as follows:

C:\> set PATH=%PATH%;C:\Mywork

And on the java command-line like so:

C:\> java -Djava.library.path=C:\Mywork MyMainClass
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜