CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Macro scripting in netbeans, importing star libraries

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 14, 2013, 11:27
Default Macro scripting in netbeans, importing star libraries
  #1
Member
 
Laurens Van Dyck
Join Date: Jul 2011
Location: Netherlands/Germany
Posts: 34
Rep Power: 6
laurensvd is on a distinguished road
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
laurensvd is offline   Reply With Quote

Old   March 21, 2013, 18:18
Default
  #2
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 12
abdul099 is on a distinguished road
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
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   March 31, 2013, 10:02
Default
  #3
Member
 
Laurens Van Dyck
Join Date: Jul 2011
Location: Netherlands/Germany
Posts: 34
Rep Power: 6
laurensvd is on a distinguished road
Thanks, that did the trick.
laurensvd is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 04:04
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
importing mesh from Gridgen to STAR CD smkhan STAR-CD 6 September 15, 2009 08:45
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Errors importing Gambit .neu files to Star v3.15 Cb CD-adapco 1 November 29, 2004 13:39


All times are GMT -4. The time now is 10:33.