...
http://oceanoptics.com/faq/controlling-usb-spectrometers-omnidriver-matlab/
4) download and install this patched file for JAVA
Hi Carrington:
Matlab sample (requires instrument control toolbox): http://www.mathworks.com/hardware-support/ocean-optics-spectrometers.html
The current version of OmniDriver for MacOS does not support 64-bit Java. Therefore, you will need to also download an updated 64-bit version of libNatUSB.jnilib, and then copy it into $OOI_HOME (overwriting the version you just installed). This file (encoded in a Zip archive) may be downloaded from my DropBox folder here: https://www.dropbox.com/s/15lerb1ddlux6xj/libNatUSB.zip?dl=0
Sincerely,
Norm