Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Java code > Reverse engineering legacy Java code > Mapping information > Generating Java code for system simulation > Generating Java code for simulation
  
Generating Java code for simulation
This procedure assumes that you have set up your model to generate Java code.
To generate Java code for system simulation:
Through Automatic Code Synchronizer (ACS), generate the Java code files.
For information about the ACS Code Generator DLLs you can use to generate Java code files for simulation, see ACS Code Generator DLLs for system simulation.
For information about using ACS to generate code files, see Overview of ACS.
When you create the Generation Settings Scheme through the Launch ACS/TDK dialog, ensure that on the Harness tab you select the Harness Class (specifies the initial state machine Class) and Classes to generate as stubs.
The Javafiles are generated in the target folder. You can now build your application and then perform the simulation through Modeler. For more information about simulation of an application, see Overview of generating Java code for system simulation.