Adding STAR-CCM+ Libraries to the Simulation Assistant Project

You can import the Simcenter STAR-CCM+ libraries into NetBeans so that you can use the auto-check and auto-complete features of the IDE.

NoteIf you are creating the project on a Windows platform, it is recommended that you copy and paste the Simcenter STAR-CCM+ libraries to the root directory of your system, for example: C:\STAR-CCM+ Libraries\. When building code, Windows has a limitation of how large the path to the libraries can be. In the default Simcenter STAR-CCM+ installation directory, the Simcenter STAR-CCM+ libraries would contain paths that are too long. When building the project, these long paths would cause problems.

To import the Simcenter STAR-CCM+ libraries:

  1. Right-click on [project_name] > Libraries and select Add Library....


The Add Library dialog appears.

  1. Click Create....


The Create New Library dialog appears.

  1. In the Library Name field, enter the name of the library.
    It is recommended you name the Simcenter STAR-CCM+ libraries according to the version number, for example starccm+_804010.


  2. Click OK.

The Customize Library dialog appears.

  1. Click Add JAR/Folder...


The Browse JAR/Folder dialog appears.

  1. Navigate to your [STARCCMP_install_dir]\star\lib\java\platform\modules\ext folder.
    Note If you are going to build projects on Windows platforms, it is recommended that you copy this folder to your root directory, for example: C:\STAR-CCM+ Libraries\.
  2. Add all the .jar files found on the folder.
    The libraries that you add are displayed in the Classpath tab.

  3. If you want to reference the Java documentation, add the following folder:
    • [STARCCMP_install_dir]\doc\client\html
  4. Click OK to close the Customize Library dialog.
  5. Select the library package that you just created and click Add Library.
    The Add Library dialog closes.
  6. Click OK to close the Project Properties dialog.
The Simcenter STAR-CCM+ libraries are added to the project.