Call any Java method from C#

Guy :

Is there a way using JNI and C# code to create a program that invoke any given Java method? Assume that I have a jar containing classes hierarchy and I'm responsible for loading the JVM and these classes, can I write a C# program that receives the java method signature + arguments values on the fly and call the java code?

Please try to restrict your answers to free technologies (JNI solutions prefered).

Marcelo Cantos :

IKVM is one option. It implements a JVM in .Net and provides interop tools.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

is there any function to call a string from one method into another overriden method in java?

From Java

Is it OK to call abstract method from constructor in Java?

From Java

How to call getClass() from a static method in Java?

From Java

Android ndk : Problem for call of Java method from c++ with jni

From Java

Call Java Method from API in .NET

From Java

Call Java method from PHP5

From Java

How to call a python method from a java class?

From Java

What is the easiest way to call a Java method from C++?

From Java

Call Java method from .Net

From Java

is there any way to call parent class method from child class object in java without modifying methods

From Dev

Call java varargs method from kotlin

From Dev

Call Method from default method in java interface

From Dev

Call Java Enum method from JNI

From Dev

Call java method from Drools rules

From Dev

Call method from current Java context

From Dev

Call Java Method with Suppliers from Groovy

From Dev

Call Java class method from JSP

From Dev

Is there any method in C# like equalsIgnoreCase from Java

From Dev

Cannot call particular java method from Clojure

From Dev

Java how to call a method from a child class

From Dev

How to call non-static java method from c++?

From Dev

jruby call method from super java class

From Dev

How to call any method or property from user input

From Dev

Call java method from RPGLE (as400)

From Dev

Call Method From interface in Java

From Dev

Call method String java from ndk with languge c++

From Dev

Is there any method to call another endpoint from same API

From Dev

call method from java fragment to kotlin fragment?

From Dev

Is there a way to call method pointer from any class

Related Related

HotTag

Archive