jnigi icon indicating copy to clipboard operation
jnigi copied to clipboard

Golang Java JNI library

Results 18 jnigi issues
Sort by recently updated
recently updated
newest added

Hey, Is there any way to retrieve `java/lang/Class` without having to call `java/lang/Class.forName` (Doesn't work with external libraries)? Why can't we just export `callFindClass`? Best regards

I have a simple class hierarchy in my project, e.g., `ObjectType` which derives from `Type`. `ObjectType` has a function `addGeneric` which takes a `Type` as parameter and returns void. I...

hi! when i run example code in windows, get this ``` Exception 0xc0000005 0x0 0x0 0x3a903b6 PC=0x3a903b6 signal arrived during external code execution github.com/timob/jnigi._Cfunc_dyn_JNI_CreateJavaVM(0x6b7f90, 0x6b7f70, 0x7a7f90, 0x0) _cgo_gotypes.go:2691 +0x54 github.com/timob/jnigi.jni_CreateJavaVM.func1(0x6b7f90,...

windows

Need to make the JVM and Golang runtime work nicely together, when Go panics happen.

I am just trying to use this lib in my golang launcher for my Java Swing application. I managed to start up the JVM and load the first few lines...

I get an error when I run the example。

See https://github.com/timob/jnigi/pull/62#issuecomment-1242789704 Right now we convert return int values but not int32. I think we should probably do int -> Int , int32 -> Int and int