DLL for JNI Integration on non-linux machines?
See original GitHub issueAs of now, I want to integrate Porcupine with Java through JNI, as you know this means that the dll must be built specifically for JNI Integration (through JNI Wrappers)
JNIEXPORT void JNICALL Java_package_name_ClassName_methodName(JNIEnv* env, jobject thiz) {}
I have only found this wrappers in android’s .so libs, but because I want to implement it in Java, I cannot implement it on a Windows PC. I am using an AMD64 arch. Is there any way I can build this on my own? If not, could you provide me the modified dll?
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
DLL for JNI Integration on non-linux machines? #45 - GitHub
As of now, I want to integrate Porcupine with Java through JNI, as you know this means that the dll must be built...
Read more >creating dll for JNI?. — oracle-tech
Hello! I've completed two JNI examples in Linux Ubuntu 11.04: 1. http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.
Read more >Java Native Interface (JNI) - Java Programming Tutorial
dll " in Windows; or "libhello.so " in Unixes/Mac OS X. This library shall be included in Java's library path (kept in Java...
Read more >Can't load library error FREngine.Jni.dll – Help Center - ABBYY
Hi Team, I am trying to create a JAVA application using FREngine version 12 Linux on Windows 10 machine.While running the Hello java......
Read more >C++ DLL does not run on different machine - Stack Overflow
I am developing a simple c++ application to generate a dll which later I am using in JNI to run native api calls,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Win x64 libjni.zip
@tatanpoker09 and @zsmaguc Please help. I am getting following error
exception in thread “main” java.lang.UnsatisfiedLinkError: C:\xxx\porcupine_java\ai\picovoice\porcupine\jni\libjni.dll: Can’t find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at ai.picovoice.porcupine.Porcupine.<clinit>(Porcupine.java:29)
I have following libs in ./jni folder
20-02-2019 10:25 <DIR> … 19-02-2019 23:10 51,330 libjni.dll 19-02-2019 22:49 141,942 libpv_porcupine.dll 19-03-2017 02:27 632,800 msvcrt.dll