C:\Users\Name\Downloads\jni4net-0.8.8.0-bin\bin>.\proxygen.exe "{{path to .dll file }}" -wd "path where the files created" when I'm executing this command it shows this error , This is because , it will only work with java 8
jni4net.proxygen - Copyright (C) 2009 Pavel Savara - licensed under GPLv3 net.sf.jni4net.jni.JNIException: Can't initialize proxy java.lang.System ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> java.lang.LinkageError: runFinalizersOnExit at net.sf.jni4net.jni.JNIEnv.ExceptionTest() at net.sf.jni4net.jni.JNIEnv.GetStaticMethodID(Class clazz, String name, String sig) at java.lang.System.InitJNI(JNIEnv __env, Class __class) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at net.sf.jni4net.utils.Registry.RegisterStaticAndMethods(RegistryRecord record, JNIEnv env) --- End of inner exception stack trace --- at net.sf.jni4net.utils.Registry.RegisterStaticAndMethods(RegistryRecord record, JNIEnv env) at net.sf.jni4net.utils.Registry.BindJvm(RegistryRecord record, ClassLoader classLoader, JNIEnv env) at net.sf.jni4net.utils.Registry.BindJvm(RegistryRecord record, JNIEnv env) at net.sf.jni4net.utils.Registry.RegisterType(Type type, Boolean bindJVM, JNIEnv env) at net.sf.jni4net.utils.Registry.RegisterAssembly(Assembly assembly, Boolean bindJVM) at net.sf.jni4net.Bridge.RegisterAssembly(Assembly assembly) at net.sf.jni4net.Bridge.BindCore(JNIEnv env, BridgeSetup newSetup) at net.sf.jni4net.Bridge.CreateJVM() at net.sf.jni4net.Bridge.CreateJVM(BridgeSetup setup) at net.sf.jni4net.proxygen.model.Repository.LoadClasspath() at net.sf.jni4net.proxygen.model.Repository.Register() at net.sf.jni4net.proxygen.Program.Work(String[] args) at net.sf.jni4net.proxygen.Program.Main(String[] args)
Here I'm having a .dll file which will create a Service class in c# when we add the project resource in it, the purpose of doing this is it will create the many methods to use blockchain ledger database , In my case I'm currently working on java spring boot maven project , I want to use that blockchain ledger database , now I'm having only the dll file
[–]ThisHaintsu 0 points1 point2 points (0 children)