badmate
badmate

Reputation:

Can J# code run on JVM

If I create a J# Application is there any way I can execute it on JVM as well

Upvotes: 1

Views: 316

Answers (2)

David Thielen
David Thielen

Reputation: 32926

Yes - sort of. If the Java you write will compile using javac then you can have one source base and compile for both J# and Java. We do that for our reporting engine. If you do this on .net 40, you need Calling J# code from .NET 4.0.

But you cannot run the J# binary on a JVM.

Upvotes: 1

C. K. Young
C. K. Young

Reputation: 223023

No, J# programs are designed to run on the .NET platform. See the J# FAQ.

Upvotes: 5

Related Questions