JNotify on Mac OS X?

落爺英雄遲暮 提交于 2019-12-01 17:37:13

java.library.path is a Java system variable, you have to set this particular one by using the -D switch when launching the program:

java -Djava.library.path=/path/to/dylibs your.MainClass

It should be possible to tell Netbeans to add some command line parameters when starting your program somewhere in your project's properties.

On OS X, the directory you want is wherever the .dylib files are, not the .so ones.

JNotify does NOT work on MAC OSX 10.6.8. As simple as that. :( On Linux works fine! File modified is not correctly reported no matter what you try.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!