my dog learned polymorphism
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

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark ".NET" Watch ".NET" New topic


Shamsudeen Akanbi
Ranch Hand

Joined: Dec 24, 2010
Posts: 72
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: 4518

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: 5850

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: 41531
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