aspose file tools*
The moose likes Java in General and the fly likes Running Java on .NET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Running Java on .NET" Watch "Running Java on .NET" New topic
Author

Running Java on .NET

Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132

Hi guys,

I would like to know if there's a possibility to run a Java program (say, a .jar file or a .class file) on top of .NET Framework (say, using a C# application), just as if it's a .NET Assembly.

I came across IKVM, which says what it allows to run Java on .NET and vice versa, I'm not sure whether it solves my problem.

Thanks in advance.


Yohan Liyanage
http://blog.yohanliyanage.com
Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
If you are looking for enterprise solution, I think mainsoft company do java->.Net interop.
Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132

Thanks Sharon. But I am working on an educational project. Not an enterprise solution.
[ November 10, 2007: Message edited by: Yohan Liyanage ]
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Have you considered creating a c or c++ app to bridge c# and java? You could link this to java via the JNI and to net via dllimport.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running Java on .NET
 
Similar Threads
Run a RMI based Program
Hello, but do you know how to manipulate NT Services in Java??
Classpath Question for commons-net-1.4.0
Difference between commends "javac hello.java" and "java hello"
Problem with getCodeBase()