Hi, I have recently been programming using the Sun java sdk but for a
project at college, I have to use Visual J#.net. What are the main
differences between the two? Which one is harder? Is there any difference
between the two API's?
Thanks
Christophe Vanfleteren - 17 Apr 2004 14:22 GMT
> Hi, I have recently been programming using the Sun java sdk but for a
> project at college, I have to use Visual J#.net. What are the main
> differences between the two? Which one is harder? Is there any difference
> between the two API's?
>
> Thanks
See my answer in c.l.j.programmer.

Signature
Kind regards,
Christophe Vanfleteren
Mark Preston - 17 Apr 2004 17:23 GMT
> Hi, I have recently been programming using the Sun java sdk but for a
> project at college, I have to use Visual J#.net. What are the main
> differences between the two? Which one is harder? Is there any difference
> between the two API's?
In brief:-
1. Microsoft do not (yet) have any version of Java. Following the
agreement between Gates and Bill McNealy, that may change in future.
2. Visual J# is not even a close attempt at Java - it is a totally
different language designed (as is C#) to produce the .NET intermediate
code (rather than the Java intermediate code).
3. The .NET intermediate code does not run on a Java Virtual Machine (it
uses a .NET virtual machine). This virtual machine is NOT operating
system independent (as the JVM is).
4. Java does not use an API. J# does (it uses the .NET API set).
5. Both are workable - but only Java will produce system-independent
code and applications. Neither is particularly "hard".
As a matter of interest, the better comparison is between J# and J2EE
(with or without Tomcat etc.).