File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes .NET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark ".NET" Watch ".NET" New topic


Shamsudeen Akanbi
Ranch Hand

Joined: Dec 24, 2010
Posts: 83
Hi guys, i know this question might sound awkward but it's because I need an answer. Can I run a java application on a .NET framework. Thanks in advance.
Matthew Brown

Joined: Apr 06, 2010
Posts: 4543

My first instinct would have been "no", they're fundamentally different platforms. But a quick search (did you try that?) came up with this:

Having said that, it's not a route I'd take if I could avoid it.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Java and .Net use different opcodes for compiled classes, so no. Though there are numerous projects that have ways of getting the two to interact.

JBoss In Action
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46353
There used to be something called J# which was identical to Java™ but ran on a .NET platform. It was withdrawn as a breach of copyright.
I agree. Here's the link:
subject: .NET
It's not a secret anymore!