Questions tagged [ikvm]

IKVM.NET is a JVM written on the CLR, allowing you to execute Java code using the Microsoft CLR run-time or Mono.

IKVM is a implementation of using the . IKVM and its supporting libraries allow Java to be executed under .NET processes (Mono or Microsoft) and allow the compilation of Java byte code into .NET compliant files.

IKVM Implements the Java Virtual Machine and also the Java class libraries.

Project Homepage

286 questions
0
votes
1 answer

Error while converting jar to dll using IKVM

I had created a library project in android. This library project selects the real path of the image from gallery. I want to reference this application in asp.net. So, i converted it in dll using ikvm, But there was a warning that "". the code…
user1909177
0
votes
1 answer

How to convert *.jar that contains native call to a DLL(Mono C#)

We're using IKVM to convert our *.jar to dll that we using to migrate our code to C# with Mono.. We have a problem especially when working with jar contains a JNI call, expl JnativeHook, its make an error when we try to convert it using IKVM, i have…
Marwen Trabelsi
  • 4,167
  • 8
  • 39
  • 80
0
votes
1 answer

Stanford NLP ported to ikvm, FileLoad Exception

I'm trying to use the Stanford NLP tools ported to IKVM, but it gives me unhandeled exception. here's the code I'm using `string StanfordModelsDirectory = "englishPCFG.ser.gz"; try { LexicalizedParser LP =…
Mokhtar Ashour
  • 600
  • 2
  • 9
  • 21
0
votes
2 answers

Passing enumeration value to Java constructor from C#

I've a requirement to run JAR files from C# using IKVM. The JAR contains a class whose constructor takes an enumeration as one of its parameter. The problem I'm facing is that when I try to create an instance of this class in C# using IKVM an…
naveen
  • 219
  • 4
  • 12
0
votes
1 answer

How to link jar libraries while converting a jar file to dll using IKVM?

I have a Java application (JAR) that reads data from an Oracle database. I want to convert the JAR file to a .NET dll using IKVM. Can anyone suggest how to attach or link the ojdbc.jar to the jar file while creating the dll so that when I add the…
Vijay
  • 385
  • 1
  • 4
  • 15
0
votes
1 answer

How to Compile java7 code with IKVMC for .NET framework 3.5 support?

I am trying to produce a Microsoft SQL Server 2008 Express R2 Stored Procedure (C#) CLR from some code that is compiled that references a dll cross compiled using IKVMC. The original code is written in java7. Problem is IKVM is giving me a .NET…
Ryan R.
  • 2,478
  • 5
  • 27
  • 48
0
votes
1 answer

Connecting to SQL Server in .NET/IKVM using JDBC

I wrote a Java package which connects to a SQL Server database using JDBC and integrated security. This package runs just as intended from my Java IDE. Now I'm trying to access some classes in this package from a separate .NET app using…
Chuck
  • 86
  • 6
0
votes
2 answers

Basic web application using Saxon API and IKVM throws exception

I created a basic .NET 4.0 application and referenced the Saxon assemblies. Here is the list of dll's I referenced in the project. saxon9.dll saxon9api.dll IKVM.OpenJDK.ClassLibrary.dll IKVM.Runtime.dll The code for the application is as follows:…
HashTagDevDude
  • 564
  • 1
  • 4
  • 19
0
votes
1 answer

Getting com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not found when inserting content under load

We are using the Marklogic XCC .Net library for inserting documents into Marklogic. However under load (45 concurrent users), we start getting the exception with the message Provider com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl not…
uttamkini
  • 508
  • 5
  • 12
0
votes
1 answer

Console mono executables do not exit when completed

I have a .NET project that I've been compiling with Visual Studio and running successfully on Windows for years. I'd like to move to use Mac OS X to run this particular program, and so have been working with mono for just a little while do make…
cemerick
  • 5,916
  • 5
  • 30
  • 51
0
votes
1 answer

using MultiLayerPerceptron from Weka with IKVM.NET

I'm trying to use the weka.classifiers.functions.MultilayerPerceptron as classifier on Weka using IKVM.NET but I keep getting the following exception: "Could not load file or assembly 'IKVM.OpenJDK.SwingAWT, Version=7.0.4335.0, Culture=neutral,…
leandro koiti
  • 423
  • 1
  • 7
  • 18
0
votes
1 answer

License issues with ikvm.net?

I'm thinking about the usage of ikvm.net. While ikvm.net has a license which can be used by commercial applications, openjdk will be developed under GPL. My question is due to the fact that ikvm.net is delivering an openjdk .net assembly does this…
Daniel Manzke
  • 310
  • 2
  • 8
0
votes
1 answer

Problems with class loading during deserialization of type from another assembly

There are two assemblies: 1) Assembly containing serializer. This is a place from where serialization and deserialization starts. 2) Assembly containing serialized types. This is a place which is calling serializer from 1st assembly. The idea of…
okutane
  • 13,754
  • 10
  • 59
  • 67
-1
votes
1 answer

How to convert System.Drawing.Bitmap to java.awt.image.BufferedImage?

I'm using IKVM and PDFBox to create accessible PDF using C#. To add image to the document, I need to convert System.Drawing.Bitmap to java.awt.image.BufferedImage. I'm trying it with below code segment. Code: System.Drawing.Bitmap bitmap = new…
Briyatis
  • 57
  • 2
  • 14
-1
votes
1 answer

Call in a C# program a function from a dll library generated with IKVM with a List param

Everything is in the title. I generated a dll file from a jar which I included in my C# project. I try to call a function from the library that take a java.util.List in param but I can't use it and I wonder if there's a workaround for that. I also…
Fr4nz
  • 1,616
  • 6
  • 24
  • 33
1 2 3
19
20