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


mike cool

Joined: Oct 21, 2005
Posts: 24
hi all
can i compile my code in visual
i heard that i can use java code and other codes of onother language in one project is this true?
Stephen Boston
Ranch Hand

Joined: Jul 14, 2005
Posts: 165
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.

Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
As far as I know, Microsoft once had a language called J#, which was a .NET variant of Java. I think they dropped it.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46367
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

Joined: Jul 22, 2000
Posts: 9059
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.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Stuart Ash
Ranch Hand

Joined: Oct 07, 2005
Posts: 637
Better to keep Java and .NET separate. For the most part.

Eclipse has a good plugin for C# though.

ASCII silly question, Get a silly ANSI.
I agree. Here's the link:
subject: .NET
It's not a secret anymore!