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
7
votes
2 answers

Converting Java to .NET library using IKVMC - Warning IKVMC0108: not a class file

There is Java tool (it is called Mallet) http://mallet.cs.umass.edu/download.php which I want to use in my .NET project. To convert this tool to .NET library at first I've tried to build it in single .jar file using Apache Ant. I've done everything…
Valentin P.
  • 1,131
  • 9
  • 18
7
votes
5 answers

FOP/ikvm: error "Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not found"

I have produced a fop.dll from fop-1.0 with ikvm: ikvmc -target:library -reference:IKVM.OpenJDK.Core.dll -recurse:{myPathToJars}\*.jar -version:1.0 -out:{myPathToJars}\fop.dll If I use my fop.dll in a Windows Application, everything works…
jahuer1
  • 377
  • 4
  • 15
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
  • 38,231
  • 58
  • 157
  • 245
7
votes
2 answers

Converting dll to jar

I'm trying to find a way to convert a dll to a jar file. I have a .net application that communicates with a java application. The core entities are .net objects which I have to duplicate manually in java. I've read about IKVM but it seems that it…
Dennis Nerush
  • 5,473
  • 5
  • 25
  • 33
7
votes
1 answer

Doesn't IKVM.net support generics (type parameters)?

I statically recompiled a Java lib which used generics a lot, like Collection, but the emitted .NET dll only uses Collection, not with type parameters. How come?
Carl Hörberg
  • 5,973
  • 5
  • 41
  • 47
6
votes
4 answers

Conversion of jar to dll using ikvm

I am trying to convert a jar into dll in dotnet using IKVM but am getting this error Exception in thread "main" java.lang.ClassNotFoundException: \Location of the jar\... CAn anyone provide some guidance.. Thanks in advance
nowfal
  • 219
  • 2
  • 3
  • 6
6
votes
2 answers

How do I access a .net resource for an IKVM-ported java library

I am using IKVM to port some java libraries into my c# project. The library api (StanfordNLP) requires that a file be loaded to train the statistical models used by the nlp functions. Loading the file from the file system has worked well for weeks,…
5
votes
1 answer

Ikvmc doesn't find main in NetBeans produced .jar

I have created a .jar from NetBeans and now I am trying to convert it to .NET (using http://www.ikvm.net/userguide/tutorial.html as tutorial). Ikvmc gives me that error: warning IKVMC0108: Not a class file "Counters/AtomicCounter.class", including…
5
votes
3 answers

Supermirco IPMI KVM: remote connection without webbrowser

I try to connect with the IPMI remote connection(KVM) without the use op the webbrowser or IPMIview tool. But so far no luck. The first think that I did is launching the "jviewer.jnlp" with javaws. This file will be created by the IPMI website if…
Stock
  • 141
  • 1
  • 2
  • 8
5
votes
2 answers

Best way to convert a Java Map to a Dictionary in C#

I need to write a function in C# that takes in a java.util.Map and converts it to a C# Dictionary. (The project I'm working on uses IKVM to use some Java classes in C#.) I've tried using a foreach loop (e.g. foreach (java.util.Map.Entry in map) or…
firechant
  • 886
  • 1
  • 14
  • 22
5
votes
1 answer

How to enable 'for...in' my NativeJavaObject within Rhino?

I am newbie in rhino. Currently, I am using Rhino 1.7R framework thru .NET 4 and IKVM.NET. I exposed several wrapped classes implementing NativeJavaObject using setWrapFractory() API. public class InterceptNativeObject : NativeJavaObject { …
5
votes
2 answers

Convert Scala-Files into a Dll

I have some scala code I've written using IntelliJ with the SBT-Plugin and want to provide me code as an DLL for C++. I already tried to use 'ikvmc': I packed all my classes via 'package' in one jar. Afterwards I manually set up one jar which…
user1537137
  • 121
  • 5
4
votes
1 answer

Java and .NET Streams Interoperability Through IKVM

In my current project I use IKVM to cross-compile several Java libraries that deal with various aspects of XML. These libraries are then integrated with several .NET libraries and my mainline code. Everything works fine, but I suspect that there are…
daveaglick
  • 3,600
  • 31
  • 45
4
votes
2 answers

Can a native image generated by GraalVM replace IKVM generated DLLs?

I have some Java-app and a customer with some UWP-app implemented in C#, distributed through the Windows Store etc., who wants to use some pieces of my app. Those pieces are pretty OS-independent, only parsing of some special binary file formats,…
Thorsten Schöning
  • 3,501
  • 2
  • 25
  • 46
4
votes
2 answers

how to convert a jar to dll, the jar depending on multi jars

Hi i try to use ikvmc (http://www.ikvm.net/) to conver a jar to a dll the jar is : http://dl.dropbox.com/u/284185/dartapi.jar but that jar depends on multi jars as well, http://dl.dropbox.com/u/284185/lib.zip what command should i use to convert…
jojo
  • 13,583
  • 35
  • 90
  • 123
1
2
3
19 20