0

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?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Mike2012
  • 7,629
  • 15
  • 84
  • 135

1 Answers1

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