[Ikvm-developers] Problem creating executable from classfile
Brought to you by:
jfrijters
From: Ben L. <be...@cs...> - 2004-12-07 02:40:04
|
I am working on converting PDFBox to .NET and I have it mostly working. I can create DLLs for PDFBox and all the dependent libraries. PDFBox comes with a variety of command line applications as well, so I would like to include those as executables. But I am getting the following error when I do so. Note: found main method in class: org.pdfbox.ExtractText Note: output file is: ExtractText.exe System.NullReferenceException: Object reference not set to an instance of an object. at JVM.Compile(String path, String keyfilename, String version, Boolean targetIsModule, String assembly, String mainClass, PEFileKinds target, Boolean guessFileKind, Byte[][] classes, String[] references, Boolean nojni, Hashtable resources, String[] classesToExclude, String remapfile) at Compiler.RealMain(String[] args) Here is the command I am executing ikvmc -reference:ikvm.gnu.classpath.dll -reference:IKVM.AWT.WinForms.dll -reference:bin\ant.dll -reference:bin\junit.dll -reference:bin\log4j-1.2.9.dll -reference:bin\xml-apis.dll -reference:bin\PDFBox-0.7.0-dev.dll org.pdfbox.ExtractText Any ideas? Ben Litchfield http://www.pdfbox.org |