Hi Dave,
From your description, you've a existing java application which is
originally compiled under JDK1.3 and is wondering whether it's possible to
compile it directly under .net framework so as to run under .net
enviroment, yes?
If so, I'm afraid the java code you have can't be directly compiled against
net framework since it's not a language supported by the .net. We need to
convert the whole application to another language which is supproted by the
net. Such as C# , VB.NET or J#.
And here is some tech article on this:
#Moving Java Applications to .NET
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht
ml/dotnet_movingjavaapps.asp
#Migrating Java Developers
http://msdn.microsoft.com/netframework/gettingstarted/java/
Hope helps. If still anything unclear, please feel free to post here.
Thanks.
Regards,
Steven Cheng
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
David Thielen - 07 Dec 2004 07:45 GMT
Yes - that's it.
I tried J# but it's run-time library is 1.1.4 and I need 1.3. And converting
to C# would be a nightmare.
At the moment we just run the java app under java 1.3 and call it from C#
via TCP. I'm guessing that remains our best option.
thanks - dave
> Hi Dave,
>
[quoted text clipped - 28 lines]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
Steven Cheng[MSFT] - 08 Dec 2004 02:10 GMT
Thanks for the response Dave,
Yes, actually speaking , we should always think J# is a .net language (just
like C# or VB.NET), which is totally different thing from the java. And
the J# version 1.1.4 is the version of the .net runtime rather the language
version, and the java's version 1.3 is the jdk's version. So they're also
two different things.
Also, if you can't migrate your whole application to .net currently, I also
think the means you're using now( via TCP communication) is the best means
we can find.
BTW, if you're considering to rewrite the application into C#(VB.NET)
later, please feel free to post here if you meet any problem. We're willing
to help you :).
Thanks.
Regards,
Steven Cheng
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)