jni

Java / JVMTI: Utilizzo del parametro JavaVM in Agent OnLoad(JavaVM, char*, void)

Attualmente sto lavorando con JVMTI molto la prima volta . Uso principalmente la documentazione dell'interfaccia dello strum ... entCallbacks callbacks; res = (*vm)->GetEnv(vm, (void **)&jvmti, JVMTI_VERSION_1); // Here the code goes on }

Chiamare le funzioni di libreria native, ottenere java.lang.UnsatisfiedLinkError?

Quindi sto cercando di ottenere questa libreria nativa qui e farla compilare ed eseguire nella mia applicazione Java. Ecco l ... v *ioEnv, jobject ioThis, jstring gifName, jint w, jint h, jint numColors, jint quality, jint frameDelay) { // code etc... }

Aprire il riconoscimento facciale CV in java: errore di ricerca dei simboli

Ho provato ad aggiungere il wrapper FaceRecognition per Opencv in java dopo questo esempio. Ho avuto alcuni problemi da quan ... pencv_java249 Quindi per/usr/lib/jni / libopencv_java249.quindi ho dovuto aggiungere - L/usr/lib / jni e -lopencv_java249

Jni java launcher funziona in c ma non in c++

Devo creare un programma che lanci un'applicazione Java in C++. Il primo esempio in C funziona bene, avvia il jar perfettame ... own Source) at java.lang.ClassLoader.loadClass(Unknown Source) Qualcuno può dirmi se sto facendo qualcosa di sbagliato?

Java attraverso il codice JNI C chiama il programma Cobol su HP Tandem

Vorrei chiamare il programma Cobol attraverso il codice java jni C. Dopo aver chiamato il mio codice java ho ricevuto un ... E (1.6.0), built on Apr 20 2011 09:18:56 by "svcnedccadmin" with c89 time: Mon May 9 18:51:12 2016 elapsed time: 1 seconds

Java.lang.UnsatisfiedLinkError: lotus / domino/asse/trasporto/http / NotesSocket.openConnection () V

Voglio testare il mio domino web service consumer nel progetto intellij idea Ho c:/Notes nei miei ambienti variabili Inoltr ... o che non c'è alcun metodo nativo nel mio classpath. Forse c:/Notes non è sufficiente Qualcuno potrebbe aiutarmi con questo?

java.lang.UnsatisfiedLinkError: Can't find dependent libraries - iostream

Continuing to investigate JNI came across this point: in the files in which I describe the implementation of methods (cpp), w ... intf test"); // std::cout<<"test cout\n";// даже если это закомментировано а iostream подключен - всеравно ошибка }

C in Java? Or the native keyword

Public native int hashCode () first saw this word native? The Java Native Interface ( JNI) is a standard mechanism for runni ... call a C/C++ function from a Java program, and vice versa. How is it to understand that the C language is "located" in Java?

Android jni javah

I'm trying to create an h-file for android via javah. The com.example.test class.MainActivity. How to use javah correctly? Sh ... ses or src? Somewhere I read that the wrong javah can be used, depending on the paths in the patch(xs which is not the one).

Is there a better way to emulate ping in Java?

There is a server that accepts requests in the protobuf format, clients send requests to the server, the server must ping the ... s in the form of libraries? I found only one implementation of, but this is not quite suitable, since it is only for windows.

javah in java 11

In java 8, I used javah from the ${JAVA_HOME}/bin folder, and just recently I upgraded to Java 11 and there is no javah there ... t the same time, I can't use javah from Java 8 due to byte code incompatibility. Please tell me what to do in this situation?

Connecting Java c C++ to qt via QAndroidJniObject

Tell me how to connect Java c C++ to qt via QAndroidJniObject? This is my .pro #--------------------------------------------- ... directory I did it according to the documentation : https://doc.qt.io/qt-5/qandroidjniobject.html Please tell me what to do?

Error in the dll (using the Java Native Interface)

Using Visual Studio, I make a dll for a JavaFX application. It turned out to implement a simple function of adding two number ... JNIEXPORT jstring JNICALL Java_application_Main_getLine (JNIEnv *, jobject, jstring); #ifdef __cplusplus } #endif #endif