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.
Note | If 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:
-
Right-click on Add Library....
and select
The Add Library dialog appears.
-
Click Create....
The Create New Library dialog appears.
-
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.
- Click OK.
The Customize Library dialog appears.
-
Click Add JAR/Folder...
The Browse JAR/Folder dialog appears.
-
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\. -
Add all the .jar files found on the folder.
The libraries that you add are displayed in the Classpath tab.
-
If you want to reference the Java documentation, add the following folder:
- [STARCCMP_install_dir]\doc\client\html
- Click OK to close the Customize Library dialog.
-
Select the library package that you just created and click Add
Library.
The Add Library dialog closes.
- Click OK to close the Project Properties dialog.
The
Simcenter STAR-CCM+ libraries are added to the project.

