It's not really helpful for you, but the reason you get different
errors between run.sh and 'ant run' is because of a bug in run.sh -
not all of the jars in lib/ are included in the classpath.
See this patch:
diff --git a/run.sh b/run.sh
index 1807b0e..6e927f0 100755
--- a/run.sh
+++ b/run.sh
@@ -48,7 +48,7 @@ if [ ! -f $code_swarm_jar ]; then
fi
# running
-if java -Xmx1000m -classpath dist/code_swarm.jar:lib/core.jar:lib/
xml.jar:lib/vecmath.jar:. code_swarm $params; then
+if java -Xmx1000m -classpath dist/code_swarm.jar:`ls lib/*.jar | tr
'\n' ':'`:. code_swarm $params; then
# always on error due to no "exit buton" on rendering window
echo "bye"
# echo -n "error, press a key to exit"
As far as debugging your problem, could you give:
* the contents of your codeswarm/lib directory
* your platform
* and your java version?