jni4net 不生成 MyCSharpDemoCalc.j4n.dll。generateProxy 说它有,但文件没有被创建。因此,我得到 System.IO.FileNotFoundException。这是 jni4net 中的错误吗?我正在使用版本 0.8.6.0
D:\Temp\jni4net\samples\myCSharpDemoCalc>generateProxies
..\..\lib\jni4net-LGPL-3.0.txt
..\..\lib\jni4net.j-0.8.6.0.jar
..\..\lib\jni4net.n-0.8.6.0.dll
..\..\lib\jni4net.n.w32.v20-0.8.6.0.dll
..\..\lib\jni4net.n.w32.v40-0.8.6.0.dll
..\..\lib\jni4net.n.w64.v20-0.8.6.0.dll
..\..\lib\jni4net.n.w64.v40-0.8.6.0.dll
7 file(s) copied.
jni4net.proxygen - Copyright (C) 2009 Pavel Savara - licensed under GPLv3
will generate JVM mycsharpdemocalc.icalc
will generate JVM mycsharpdemocalc.democalc
proxygen done
compile classes
MyCSharpDemoCalc.j4n.jar
MyCSharpDemoCalc.j4n.dll
csc: file `/nologo' does not exist
compiling usage
D:\Temp\jni4net\samples\myCSharpDemoCalc>run
D:\Temp\jni4net\samples\myCSharpDemoCalc>cd work
D:\Temp\jni4net\samples\myCSharpDemoCalc\work>java -cp jni4net.j
-0.8.6.0.jar;MyCSharpDemoCalc.j4n.jar;。线程“主” System.IO.FileNotFoundException 中的 MyCalcUsageInJava 异常:
D:\Temp\jni4net\samples\myCSharpDemoCalc\work\MyCSharpDemoCalc.j4n.dll at net.sf.jni4net.Bridge.LoadAndRegisterAssemblyFromClassLoader(File assemblyFile, ClassLoader classLoader) at net .sf.jni4net.Bridge.LoadAndRegisterAssemblyFrom(File assemblyFile)
at net.sf.jni4net.__Bridge.LoadAndRegisterAssemblyFrom3(IntPtr __envp, JniLocalHandle __class, JniLocalHandle assemblyFile) at net.sf.jni4net.Bridge.LoadAndRegisterAssemblyFrom(Native Method) at MyCalcUsageInJava.main (MyCalcUsageInJava.java:11)
其他人有同样的问题吗?