Hello Pavel, this software is really great, but I have a problem loading a class within .net.
I'm making some test with the DemoCalc sample. First, I've created the proxy classes and then packaged them in a Jar file.
Then, publish the proxy jar and the Democalc sample jar in the classpath, so it could be visible anywhere, but .Net is throwing me this error:
The thread 'vshost.LoadReference' (0x15fc) has exited with code 0 (0x0).
'JNI4NetTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\cesar\documents\visual studio 2010\Projects\JNI4NetTest\JNI4NetTest\bin\Debug\JNI4NetTest.exe', Symbols loaded.
'JNI4NetTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\cesar\documents\visual studio 2010\Projects\JNI4NetTest\JNI4NetTest\bin\Debug\jni4net.n-0.8.6.0.dll'
'JNI4NetTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'net.sf.jni4net.jni.dynammic'
'JNI4NetTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'net.sf.jni4net.jni.dynammic.dll'
A first chance exception of type 'net.sf.jni4net.jni.JNIException' occurred in jni4net.n-0.8.6.0.dll
Can't load java class for democalc.ICalc_ from classLoader sun.misc.Launcher$AppClassLoader@35ce36
at net.sf.jni4net.utils.Registry.LoadClass(String name, JNIEnv env, ClassLoader classLoader)
at net.sf.jni4net.utils.Registry.RegisterClass(RegistryRecord record, JNIEnv env, ClassLoader classLoader)
at net.sf.jni4net.utils.Registry.BindJvm(RegistryRecord record, JNIEnv env, ClassLoader classLoader)
at net.sf.jni4net.utils.Registry.RegisterType(Type type, Boolean bindJVM, JNIEnv env, ClassLoader classLoader)
at net.sf.jni4net.utils.Registry.RegisterAssembly(Assembly assembly, Boolean bindJVM, ClassLoader classLoader)
at net.sf.jni4net.Bridge.RegisterAssembly(Assembly assembly, ClassLoader classLoader)
at net.sf.jni4net.Bridge.RegisterAssembly(Assembly assembly)
at MyCalcUsageInDotnet.test() in C:\Users\cesar\documents\visual studio 2010\Projects\JNI4NetTest\JNI4NetTest\MyCalcUsageInDotnet.cs:line 11
at JNI4NetTest.Program.Main() in C:\Users\cesar\documents\visual studio 2010The thread 'vshost.RunParkingWindow' (0x1744) has exited with code 0 (0x0).
The thread '<No Name>' (0x1740) has exited with code 0 (0x0).
The program '[5408] JNI4NetTest.vshost.exe: Program Trace' has exited with code 0 (0x0).
The program '[5408] JNI4NetTest.vshost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
\Projects\JNI4NetTest\JNI4NetTest\Program.cs:line 22
I've attached you the generated proxies and the project I'm using for testing.
Thank you very much in advance.