swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] Bus error running javaswarm on Mac OS X 10.4 (Java 1.5)


From: Sebastian Frischbier
Subject: [Swarm-Support] Bus error running javaswarm on Mac OS X 10.4 (Java 1.5)
Date: Wed, 24 Oct 2007 16:36:22 +0200

Dear list,

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'


Compiling with javacswarm results in:

pomme:~/Documents/Uni/Studienarbeit/swarm/jheatbugs-2001-03-28 sebastianfrischbier$ javacswarm *.java

Issued 1 lexical warning in "HeatSpace.java":

    47.     public Object addHeat$X$Y (int moreHeat, int x, int y) {
                          ^---------^
*** Lexical Warning: The use of "$" in an identifier, while legal, is strongly discouraged, since it can conflict with compiler-generated names. If you are trying to access a nested type, use "." instead of "$".

Issued 1 semantic warning compiling "Heatbug.java":

                        <------
   244.                 case 8:
   245.                   newX = xp1 ; newY = yp1;  // SE
        ----------------------------------------->
*** Semantic Warning: This switch block can fall through to the next case. Did you forget a break statement?


but seems to work.

I would be very happy if you could help me to fix that problem an get the installation running. Do I have to add other destinations to the environment-variables?

Regards,
Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]