J# doesn't support 64 bit?

I'm getting my first 64-bit machine next week, so I thought I'd better start getting up to speed about 64 bit.

I have a solution that has C# applications (WinForms and class libraries), as well as some J# class libraries. As long as the solution only contains C# projects, the platform configuration manager (that dropdown in the toolbar) says "All CPU", meaning it will generate platform-agnostic MSIL. But as soon as you add a J# project, it says "Mixed Platforms" and also adds "x86".

Doesn't J# support 64-bit? I thought it also produces MSIL?!
Does this mean all my applications have to run in x86? Or is .NET smart enough to compile the C# projects into x64 code so it can interoperate with x86 code from J#?

[733 byte] By [DanielRieck] at [2008-2-13]
# 1

Hi,

Your finding is correct. J# will not support creating 64-bit applications as part of Visual Studio 2005. It is not possible to transition from 32-bit to 64-bit and vice-versa within the same process and so you cannot add a reference to a 32-bit DLL from a 64-bit application. This means that you would need to have everything set to x86 if you want to use the J# stuff.

In fact you can also check this in the documentation, Visual J# compiler does not even have a /platform option.

Visual J# Compiler Options
http://msdn2.microsoft.com/library/cezk14b9(en-us,vs.80).aspx

/platform - Visual Basic
http://msdn2.microsoft.com/library/8ck8e1y2(en-us,vs.80).aspx

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 2
Thanks.

I thought so. Why does Microsoft not consider J# as a real language for .NET development? Before 2.0, the compiler couldn't even produce CLS compliant code. Sigh.

DanielRieck at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....
# 3
Hi,

I guess the importance is derived from the developer community population for the target language and VB and C# would probably have a huge following as compared to J#.

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,.NET Development,64-Bit .NET Framework Development....

.NET Development

Site Classified