• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.NET

 
mike cool
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
can i compile my code in visual studio.net
i heard that i can use java code and other codes of onother language in one project is this true?
how?
thx
 
Stephen Boston
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking if you can compile java source code in .NET?

if so, take a look at this C# code. (which is kinda close to java)

All this code does is make a window.
Java code would just break.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, Microsoft once had a language called J#, which was a .NET variant of Java. I think they dropped it.
 
Campbell Ritchie
Sheriff
Pie
Posts: 48938
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My copy of Visual Studio still has J# on.
I thought J# looked exactly like Java. If you can find J# in Visual Studio, then it ought to work. Well, try it and see.
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Microsoft� Visual J# can be used by developers who are familiar with the Java-language syntax to build applications and services on the .NET Framework. It integrates the Java-language syntax into the Visual Studio� .NET integrated development environment (IDE). Visual J# also supports most of the functionality found in Visual J++ 6.0�, including Microsoft extensions. Visual J# is not a tool for developing applications intended to run on a Java Virtual Machine. Applications and services built with Visual J# will run only on the .NET Framework. Visual J# has been independently developed by Microsoft. It is not endorsed or approved by Sun Microsystems, Inc.
 
Stuart Ash
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Better to keep Java and .NET separate. For the most part.

Eclipse has a good plugin for C# though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic