I think you are setting way too many environment variables. That
is what the javaswarm and javacswarm scripts are for.
Just follow the instructions and ONLY the instructions here:
http://www.swarm.org/wiki/Swarm_FAQ:Macintosh_installation
In particular mucking about with JAVA_HOME, CLASSPATH or
DYLD_LIBRARY_PATH is guaranteed to break everything.
Bill Northcott
On 25/10/2007, at 12:36 AM, Sebastian Frischbier wrote:
I've read the postings regarding JavaSwarm and Mac OS X but I have
found no answer solving my problem. Hence I would like to ask for
your help because I have to fix my swarm-installation on my iBook
G4 with Mac OS X 10.4 in order to work on my thesis at university.
I have installed Swarm 2.2 as well as the examples according to
the how-to-guides.
My environment-variables are set to:
JAVA_HOME = /System/Library/Frameworks/JavaVM.framework/Versions/
1.5.0/Home
SWARMHOME=/usr/local/swarm2.2
DISPLAY=$DISPLAY:0.0
PATH=$PATH:/usr/local/swarm2.2/bin:/usr/local/swarm2.2:$JAVA_HOME:
$JAVA_HOME/bin
CLASSPATH=$PATH:$CLASSPATH:/usr/local/swarm2.2/share/swarm/
swarm.jar:/usr/local/swarm2.2/share/swarm/kawa.jar
Running Object-C-examples from swarm is successfull but if I try
to run the jheatbugs-example with javaswarm (X11 is running) I get
the following message and my java breaks down:
pomme:~/Documents/Uni/Studienarbeit/swarm/jheatbugs-2001-03-28
sebastianfrischbier$ javaswarm StartHeatbugs
/usr/local/swarm2.2/bin/javaswarm: line 1: 4671 Bus
error APPHOME=/System/Library/Frameworks/
JavaVM.framework DYLD_LIBRARY_PATH=/System/Library/Frameworks/
JavaVM.framework/Libraries::/usr/X11R6/lib:/usr/lib:/usr/local/
hdf5_1.6.1/lib:/usr/local/png_1.2.5/lib:/usr/local/swarm2.2/lib:/
usr/local/tcl8.4.7/lib: CLASSPATH='.:/usr/local/swarm2.2/share/
swarm/swarm.jar:/usr/local/swarm2.2/share/swarm/kawa.jar:/System/
Library/Frameworks/JavaVM.framework/Classes/classes.jar:/bin:/
sbin:/usr/bin:/usr/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-
current:/usr/local/bin:/usr/local/swarm2.2/bin:/usr/local/
swarm2.2:/System/Library/Frameworks/JavaVM.framework/Versions/
1.5.0/Home:/System/Library/Frameworks/JavaVM.framework/Versions/
1.5.0/Home/bin::/usr/local/swarm2.2/share/swarm/swarm.jar:/usr/
local/swarm2.2/share/swarm/kawa.jar' /System/Library/Frameworks/
JavaVM.framework/Commands/java 'StartHeatbugs'
\