|
[Sponsors] |
Macro scripting in netbeans, importing star libraries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2013, 10:27 |
Macro scripting in netbeans, importing star libraries
|
#1 |
Member
Laurens Van Dyck
Join Date: Jul 2011
Location: Netherlands/Germany
Posts: 34
Rep Power: 15 |
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 |
|
March 21, 2013, 17:18 |
|
#2 |
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21 |
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! |
|
March 31, 2013, 10:02 |
|
#3 |
Member
Laurens Van Dyck
Join Date: Jul 2011
Location: Netherlands/Germany
Posts: 34
Rep Power: 15 |
Thanks, that did the trick.
|
|
October 31, 2020, 22:06 |
|
#4 |
New Member
Parv Khurana
Join Date: Oct 2020
Posts: 1
Rep Power: 0 |
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.) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 04:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 04:38 |
importing mesh from Gridgen to STAR CD | smkhan | STAR-CD | 6 | September 15, 2009 08:45 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |
Errors importing Gambit .neu files to Star v3.15 | Cb | Siemens | 1 | November 29, 2004 12:39 |