Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed one project which contains two solutions.
one is for back end , which contains entities layer , business layer, data access layer etc..
another one is for presentation using wpf xaml files.
i need run the same in MAC OS also. So please can any one suggest me how can i achieve this. is there any way in java.
Posted
Updated 15-Jul-11 1:24am
v2
Comments
TorstenH. 15-Jul-11 7:24am    
added tags to get the .Net guys on this!

You cannot "run WPF application in Java" if by Java you mean Java machine. If you want to develop .NET applications using Java, it's possible.

One implementation of Java for .NET is IKVM.NET, see http://www.ikvm.net/[^].

Another product is Ja.NET, see http://www.janetdev.org/[^].

Also, Microsoft use to bundle Visual Studio (2005) with J# — a .NET language with Java syntax, see http://msdn.microsoft.com/en-us/vjsharp/bb188593[^]. I don't know what is the status of this product right now; please find out yourself if you're interested.

Look at the list of CLI languages here: http://en.wikipedia.org/wiki/.NET_languages[^].

—SA
 
Share this answer
 
Comments
Abhinav S 16-Jul-11 0:18am    
Yes I knew there were a few plugins that did this - but those are not very easy to use.
J# is now deprecated. :)
Sergey Alexandrovich Kryukov 17-Jul-11 13:04pm    
Thank you, Anhinav. I would not call the language implementations "plug-ins" though.
--Sa
Espen Harlinn 17-Jul-11 7:53am    
Correct, my 5 - but you can run java in .Net using http://www.ikvm.net/
Sergey Alexandrovich Kryukov 17-Jul-11 13:03pm    
Thank you, Espen.
Yes, "Java in .NET", not "run WPF application in Java".
--SA
Espen Harlinn 17-Jul-11 13:36pm    
It's an option - obviously it works quite well with mono, but then mono doesn't support WPF so...
Why do you want to use JAVA? that's .Net stuff.

Use .net to present it - should be a monkey's job to do that!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Jul-11 21:01pm    
I agree with you, but it's not clear what OP exactly mean. In particular, .NET development is Java is possible -- please see my solution.
--SA
No there is no way to run .Net applications in Java.
Both run on different runtime engines.
 
Share this answer
 
Comments
TorstenH. 15-Jul-11 7:49am    
I think he could build some browser style app and present it there - but that's no good solution at all. It's a mixture of technologies.
As I recently pointed out to somebody else recently, there is no way to use WPF applications in any form natively on a Mac. The question to ask yourself is, could your code be ported into Silverlight - which is more than capable of running on a Mac? It would seem that this is possibly going to be your best bet.
 
Share this answer
 
Comments
Nagy Vilmos 19-Jul-11 4:56am    
POH said "As I recently pointed out to somebody else recently"
Do the two recentlies cancel each other out or do the amplify? We should be told.
Pete O'Hanlon 19-Jul-11 7:28am    
No. They aren't double negatives. They are reinforcing positives.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900