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

Macro scripting in netbeans, importing star libraries

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By abdul099

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
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: 636
Rep Power: 22
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
linyanx likes this.
__________________
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, 11:02
Default
  #3
Member
 
Laurens Van Dyck
Join Date: Jul 2011
Location: Netherlands/Germany
Posts: 34
Rep Power: 15
laurensvd is on a distinguished road
Thanks, that did the trick.
laurensvd is offline   Reply With Quote

Old   October 31, 2020, 23:06
Default
  #4
New Member
 
Parv Khurana
Join Date: Oct 2020
Posts: 1
Rep Power: 0
pk2296 is on a distinguished road
I get the same error, with NetBeans 12.1 and StarCCM+ 14.04.011 with JDK 11. I have tried linking all the .JAR files in both these paths, to no avail. Please let me know if you think I'm doing something wrong.

(Common modules like import star.common.*; import star.base.neo.*; import star.vis.*; are not identified by the IDE.)
pk2296 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
[Other] 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 09:45
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
Errors importing Gambit .neu files to Star v3.15 Cb Siemens 1 November 29, 2004 13:39


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