ikvm

How to use PDFBox 1.0 in .net / C# environment using IKVM

ぐ巨炮叔叔 提交于 2020-01-06 02:59:04
问题 Id like to use PDFBox to generate PDF highlight files in my .net project. PDFBox states that it can be used in .net via IKVM http://www.pdfbox.org/userguide/dot_net.html BUT running ikvmc (latest version) to generate the DLLs on PDFBOX.1.0.0.jar generates a whole lot of NoClassDefFound warnings. How should I fix this, and what other DLLs do I need to include in my project? It seems as though file names have changed from the older documentation/articles I have read on the matter. thanks in

IKVM complex custom type error in remapping to properties!

浪子不回头ぞ 提交于 2020-01-06 02:53:47
问题 I used the above and wrote this: <class name="umple.pts.domain.coreEntities.Stop"> <property name="StopName" sig="()Ljava.lang.String;"> <getter name="getName" sig="()Ljava.lang.String;" /> <setter name="setName" sig="(Ljava.lang.String;)Z" /> </property> <property name="StopId" sig="()I"> <getter name="getStopId" sig="()I" /> <setter name="setStopId" sig="(I)V" /> </property> </class> <class name="umple.pts.domain.coreEntities.Line"> <property name="LineName" sig="()Ljava.lang.String;">

Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary

做~自己de王妃 提交于 2020-01-02 12:16:03
问题 I ran a 3rd party Android library through CodenameOne's version of IKVM and successfully imported the output .dll as a reference to my UWP app in Visual Studio. Upon trying to compile the project I get a single build error: (from the Error List window) Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary (from the Output window) Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(352,5): Xaml Internal Error error

Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary

[亡魂溺海] 提交于 2020-01-02 12:15:34
问题 I ran a 3rd party Android library through CodenameOne's version of IKVM and successfully imported the output .dll as a reference to my UWP app in Visual Studio. Upon trying to compile the project I get a single build error: (from the Error List window) Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary (from the Output window) Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(352,5): Xaml Internal Error error

Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary

断了今生、忘了曾经 提交于 2020-01-02 12:15:16
问题 I ran a 3rd party Android library through CodenameOne's version of IKVM and successfully imported the output .dll as a reference to my UWP app in Visual Studio. Upon trying to compile the project I get a single build error: (from the Error List window) Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary (from the Output window) Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(352,5): Xaml Internal Error error

Fatal Error C1083 - Cannot open include file: “windows.h”: No such file or directory

寵の児 提交于 2019-12-29 07:00:06
问题 I'm trying to get IKVM to build (see this question) but now have encountered a problem not having to do with IKVM so I'm opening up a new question: When running nant on the IKVM directory with the Visual Studio 2008 Command Prompt (from the Start Menu), I get the following error: ikvm-native-win32: [cl] Compiling 2 files to C:\ikvm-0.36.0.11\native\Release'. [cl] jni.c [cl] os.c [cl] C:\ikvm-0.36.0.11\native\os.c(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or

Using Java .jar package in asp.net 4.0 application?

我只是一个虾纸丫 提交于 2019-12-25 04:31:39
问题 I have a jar file exporting some functions which i want to use in my asp.net application. How can i achieve this? Will anything change if i use it in an windows azure application? 回答1: You might be able to use IKVM to compile the jar into a .Net assembly and then use it in your asp.net application. 来源: https://stackoverflow.com/questions/4683257/using-java-jar-package-in-asp-net-4-0-application

FOP with IKVM: No Images

时光怂恿深爱的人放手 提交于 2019-12-25 04:07:20
问题 I've successfully compiled and used FOP 1.0 with IKVM 0.44.5 in .NET, however I can't get it to show any images in the resulting PDF. When I run FOP via ikvm in the command-line, I get a java.io.EOFException. When I transform the same file using java, the Images shows up perfectly. java.lang.reflect.UndeclaredThrowableException at $Proxy0.readUTF(Unknown Source) at java.lang.reflect.Method.invoke(Method.java:612) at org.apache.xmlgraphics.image.loader.util.ImageUtil$1.invoke(ImageUtil.java

Which approach is best for creating PostScript in C#?

不想你离开。 提交于 2019-12-25 01:48:54
问题 I need to create PostScript output from our system. Our system produces highly formatted documents to numerous formats and I need to add .ps as an additional format. One bit of weirdness, our code is all written in Java and we use IKVM for the .net version of our library. We have about 5% of the code written in C# and the rest is Java converted with IKVM. I create .ps files on the Java side using a library that allows me to write to a Graphics2D object it provides. Unfortunately, in .NET (via

How to IKVM Apache POI

风格不统一 提交于 2019-12-24 05:43:54
问题 I want to use Apache POI in my .NET application, I know there is a port NPOI but it's not complete and don't have PowerPoint related functionality. I've tried to IKVM it by using the following command: ikvmc -target:library poi-3.8.jar poi-ooxml-3.8.jar poi-ooxml-schemas-3.8.jar poi-excelant-3.8.jar poi-scratchpad-3.8.jar but when after using the classes in resulting dll I've executed the application, got this error: The type initializer for 'org.apache.poi.xslf.usermodel.XMLSlideShow' threw