CA Gen Java 64-bit support for code generation/compilation
search cancel

CA Gen Java 64-bit support for code generation/compilation

book

Article ID: 218233

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

Does the CA Toolset support 64-bit Java code generation?

From the CA Gen 8.6 technical requirements for Compilers (CA Gen 8.6 > Technical Requirements >Third-Party Software Version > Compilers):

  • Oracle Java Development Kit 1.8.0 Update 60 for Windows
  • Oracle Java Development Kit 11.0.2 for Windows

That does not state any bitness restriction, so would like to check

Environment

Release : 8.6

Component : CA Gen Generator, Web Client for Java & ASP.NET (C#)

Resolution

Compiled Java source code is machine-independent bytecode which then runs in the Java Virtual Machine (JVM) for a particular machine. The JVM can be 32-bit or 64-bit and the same bytecode can run in either JVM. 
So for CA Gen:

  • Gen generates and compiles non-native Java bytecode that can run in either a 32-bit or 64-bit JVM.
  • It also does not matter if the 32-bit or 64-bit version of the same Java JDK/compiler is used to do the compile because the resulting bytecode is the same.
  • The Gen Java runtimes can also run in either a 32-bit or 64-bit JVM.