I need to added a bin directory to jna.library.path to get Rococoa working on OSX but I can't seem to figure out how to do so. Inside java when I call System.getProperty("jna.library.path"); it returns null so this won't give me a clue about where to place the bin directory. Any ideas?
Asked
Active
Viewed 1,501 times
1 Answers
0
java -Djna.library.path=path\to\bin

Denis Tulskiy
- 19,012
- 6
- 50
- 68
-
this was the command I tried: java -Djna.library.path=Library/Java/Extensions/bin – Mike2012 Nov 05 '09 at 00:13
-
Well, you have to add this option when you call the program, so java -Djna.library.path ClassName. If you run it from Eclipse or NetBeans, open options dialog for running the program and add -D(..) to the VM parameters. – Denis Tulskiy Nov 05 '09 at 05:41