Procedure for Code Generation:
1. | In StarUML(tm), select the [Tools] -> [Java] -> [Generate Code...] menu. |
2. | At the [Select Starting Package Location] page in the [Java Code Generation] dialog box, select a package and click [Next]. |

3. | At the [Select the code generation element(s)] page, select the elements and click [Next]. |

4. | At the [Output Directory Setup] page, select a directory to save the output sources and click [Next]. |

5. | At the [Option Setup] page, select options and click [Next]. Reverse engineering will start now. |

6. | The [Code Generation] page will show the code generation progress status and return code generation failure or success results. |

Note
· | The following error will occur if Java code generation is executed without including Java profile. Please ensure that Java profile is included in the project before executing code generation. |
|