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

278 questions
29
votes
6 answers

How to debug "Could not load file or assembly" runtime errors?

I have a project that uses a Java library converted using IKVM. I added the created DLL plus all possible IKVM DLLs as references to my project, but when I run it, I get the following runtime error: System.IO.FileNotFoundException : Could not load…
Wookai
  • 18,747
  • 16
  • 70
  • 85
24
votes
2 answers

Setting JVM parameters at runtime

Is it possible to change/modify/adding VM parameters after the JVM is already loaded (running)? If so, how can I do it?
Guy
  • 855
  • 1
  • 12
  • 27
22
votes
1 answer

.NET equivalent or alternative to Java's GlyphVector?

I'm in the process of porting a Java program to .NET using IKVM. Unfortunately IKVM's Graphics2D implementation throws a NotImplementedException in drawGlyphVector, i.e. it needs to be "fleshed out" with a .NET implementation (or by reducing it to…
Epaga
  • 35,261
  • 53
  • 143
  • 239
18
votes
2 answers

Is there a IKVM for Java? Can I run .NET assemblies on a JVM?

IKVM is an amazing beast that lets me execute Java jars in a .NET environment. That is, it's a JVM written on the .NET runtime (CLR). Does the opposite exist? Has someone written a CLR on top of a JVM? With suitable translation and base class…
Sebastian Good
  • 6,091
  • 2
  • 28
  • 54
15
votes
4 answers

Weird Mono compilation error

I am using IKVM to get SVNKit on a Mono project I'm working with, I have a class that implements an interface from SVNKit, and I can't compile: On windows and on .NET, everything compiles fine, just getting this on…
nubela
  • 14,600
  • 22
  • 68
  • 115
11
votes
2 answers

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

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…
Epaga
  • 35,261
  • 53
  • 143
  • 239
11
votes
1 answer

Difference between IKVM.Reflection.Emit and Mono.Cecil

IKVM.Reflection.Emit has "the ability to read and emit .NET 1.1, .NET 2.0 and .NET 4.0 assemblies (while running on, for example, .NET 2.0).". Does Mono.Cecil have the same? Are they interchangable for this use case? Are they both supported…
Vlad
  • 2,560
  • 1
  • 17
  • 38
11
votes
1 answer

What is the format of the Remap XML file for IKVM?

In this article Jeroen explains an example of using an XML file to remap Java Bean getters and setters to .NET Properties. What would the XML file look like if I wanted to, say, remap a Java method called showDialog() to ShowDialog() in .NET? Has…
Epaga
  • 35,261
  • 53
  • 143
  • 239
10
votes
5 answers

Using ApacheFOP v1.0 in .NET application

Has anyone successfully complied the Apache FOP v1.0 library to a .NET DLL? I am using the IKVM syntax found at http://onjava.com/pub/a/onjava/2004/08/18/ikvm.html; however, the compiled DLL seems to be incomplete. For example, I cannot…
Clay Benoit
  • 223
  • 1
  • 2
  • 11
10
votes
3 answers

IKVM and Licensing

I have been looking into IKVMing Apache's FOP project to use with our .NET app. It's a commercial product, and looking into licensing, IKVM runs into some sticky areas because of its use of GNU Classpath. From what I've seen, no one can say for…
Chris Marasti-Georg
  • 32,594
  • 15
  • 88
  • 130
9
votes
4 answers

How to reference identifiers with dollar signs from C#?

I'm trying to use a DLL generated by ikvmc from a jar file compiled from Scala code (yeah my day is THAT great). The Scala compiler seems to generate identifiers containing dollar signs for operator overloads, and IKVM uses those in the generated…
Martin
  • 224
  • 2
  • 9
8
votes
1 answer

Java .NET Interoperability

I am developing a .NET website to be hosted on the Parallel Plesk Panel (Windows) and I have some classes written in Java using its swing and JavaMail APIs which I want to use in my website. I have two options - jni4net and IKVM.net. Just want to…
Nageshwar Saini
  • 125
  • 2
  • 8
7
votes
3 answers

How to get IKVM to build in Visual Studio 2008?

I've downloaded the IKVM sources (http://www.ikvm.net/) from http://sourceforge.net/cvs/?group_id=69637 Now I'm trying to get it to build in Visual Studio 2008 and am stuck. Does anyone know of documentation of how to build the thing, or could even…
Epaga
  • 35,261
  • 53
  • 143
  • 239
7
votes
5 answers

Crazy idea: Connect .NET and SAP with SAP JCo using IKVM.NET

Because the SAP Connector for .NET is no longer maintained by SAP, I am now looking for an alternative to connect the Microsoft world with the SAP world. I know there are third party products like "ERPConnect", but I want to do this with tools from…
Kottan
  • 4,716
  • 8
  • 39
  • 67
7
votes
1 answer

How do I make a .dll created with IKVM com visible?

I have seen a few posts on this, but I haven't seen any solutions so far. I have a .jar file that I'm converting to a .NET DLL via IKVM. I'm trying to figure out how to make the methods in the DLL available inside the excel VBA environment. here…
1
2 3
18 19