Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   Question about using Visual J# (http://www.programmingforums.org/showthread.php?t=13009)

357mag Apr 17th, 2007 4:09 AM

Question about using Visual J#
 
I'm going to be using Visual Studio 2005 Standard, mostly for work in Visual Basic and Visual C++. I'm aware that Visual J# isn't true Java I guess, but more or less Microsoft's version of it. I was wondering though just for learning purposes can I pick up a book on Java and go through it and enter in the code samples in my Visual J# editor window, and it will still work okay?

ReggaetonKing Apr 17th, 2007 7:27 AM

No. Why don't you just use Eclipse, Dr. Java, Netbeans, or JCreator? They're all free and work 100% with Java.

john Wesley Apr 17th, 2007 7:49 AM

To contribute to the above post I would like to add that: As far as I am aware J#, regardless of it's resemblence to Java, is designed to be used in the context of writing applications for portable devices but this does not restrict it to such platforms and it can be used, just as any other .NET language to write applications for any capable Windows OS.

J# and Java do have syntactical differences which would obviously prevent you from compiling Java code with the J# compiler not to mention the classes available are not identical to the ones you would use when writing Java code. Since J# applications run on the .NET platform and use the J# Framework as an intermediate communicator we can safely say that they (the languages) are two totally seperate things.

There is a tool available within VS however (JLCA - Java Language Conversion Assistant) which allows you to convert your Java code to compatible J# code. Also J# can work with Java bytecode meaning you can still access your Java functionality if you have created libraries etc.

JW.


All times are GMT -5. The time now is 2:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC