Share via


Visual J# 2.0 Redistributable – Second Edition: Compiler Changes

The Visual J# compilers (both 32-bit and 64-bit) shipped with J# Redist 2.0-SE now support a new command-line switch “ /platform” with the following available options for cross-compilation:

  • x86: for use when target platform is x86.
  • x64: for use when target platform is AMD64 (or x64).
  • itanium: for use when target platform is IA64.
  • anycpu: for use when application is portable across architectures.

To be compatible with the previous releases of Visual J# Redistributable, the code generated by the 32-bit and WoW Visual J# compiler that ships with Microsoft Visual J# 2.0 Redistributable Package – Second Edition targets the x86 platform by default. To run the existing Visual J# applications natively on 64-bit platforms, rebuild the existing applications by using the /platform switch and create anycpu or 64-bit platform-specific applications.

The code generated by the 64-bit Visual J# compiler that ships with Microsoft Visual J# 2.0 Redistributable Package – Second Edition targets the anycpu platform by default. Use the option that is specific to the particular 64-bit platform architecture type (x64 or itanium) while compiling for that 64-bit platform. Similarly, use the x86 option when compiling the application for a 32-bit platform from the 64-bit Visual J# compiler.

Comments

  • Anonymous
    June 01, 2007
    The comment has been removed
  • Anonymous
    August 20, 2008
    The comment has been removed