CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   Macro scripting in netbeans, importing star libraries (http://www.cfd-online.com/Forums/star-ccm/114634-macro-scripting-netbeans-importing-star-libraries.html)

laurensvd March 14, 2013 11:27

Macro scripting in netbeans, importing star libraries
 
Hello everyone.

After scripting some of my macros in a standard text editor I decided itīs time to increase productivity / scripting complexity by switching to netbeans. Although I imported the star-codemodule.jar in my libraries the program does not recognise the star-ccm+ specific classes (i.e. 'import star.common.*;' already throws an error). I am using netbeans 6.9, java 1.6 and am scripting for Star-CCM+ 6.04.016.

Can anyone tell me how I can properly link those libraries in netbeans? Help would be very appreciated.

Greetings,
Laurens

abdul099 March 21, 2013 18:18

Link ALL *.jar files in ALL subdirectories of

Windows:
CCMP-installation-directory/java/platform/core
and
CCMP-installation-directory/java/platform/modules

Linux:
CCMP-installation-directory/star/lib/java/platform/core
and
CCMP-installation-directory/star/lib/java/platform/platform

laurensvd March 31, 2013 10:02

Thanks, that did the trick.


All times are GMT -4. The time now is 09:04.