Open owendall opened 7 years ago
I've run into this many times. I can't describe exactly why this is required, but for OS X you need this legacy package: https://support.apple.com/kb/dl1572?locale=en_US
Please give this some time though -- it's not actually a good idea to install that legacy package, because it's very old and has vulnerabilities in it, but in my experience this has been the only way to get node-tika to work on OSX.
@moxious Thanks much for that..
For anyone else facing this issue - it's possible to avoid installing the old version of installing java by manually adding JNI
to the list of JVMCapabilities
in /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Info.plist
(or equivalent)
This issue and solution are discussed here: https://github.com/joeferner/node-java/issues/90#issuecomment-45613235
I am on Mac OS X Sierra. I tried using the "jabba" jvm version manager so I could map to 1.7 before building node-tika, but got errors.
Now the npm install worked, but I get the message in the screen shot I have included.
Suggestions?