swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Swarm with Java on Panther


From: Andre Costa
Subject: [Swarm-Support] Swarm with Java on Panther
Date: Thu, 4 Nov 2004 12:15:24 +1100

Hi,

I am attempting to run some Swarm Java code on MacOS X, using Bill Northcott's binaries. I am running version 10.3, with the patched gcc compiler (April 2004).

My code compiles successfully without error, but gives the following runtime errors - here is the Terminal output:


********

risk:~/Work/MyPhDFiles/AresAccountCopyNov02/SwarmCode/PoissonTrafficStreamModels/QueueingNetwork acosta$ javaswarm StartAgentSim -b -seed=1
seedValue = 1
objc: Both /usr/lib/libobjc.A.dylib and /usr/local/swarm2.2/lib/libswarm.0.dylib have implementations of class Protocol.
objc: Using implementation from /usr/local/swarm2.2/lib/libswarm.0.dylib.
objc: Both /usr/lib/libobjc.A.dylib and /usr/local/swarm2.2/lib/libswarm.0.dylib have implementations of class Object.
objc: Using implementation from /usr/local/swarm2.2/lib/libswarm.0.dylib.
Version -1601961796 doesn't match runtime protocol version 2
/usr/local/swarm2.2/bin/javaswarm: line 1: 515 Abort trap 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.5/lib:/usr/local/swarm2.2/lib:/usr/local/tcl8.4.5:/usr/local/hdf5_1.6.1:/usr/local/png_1.2.5 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:' /System/Library/Frameworks/JavaVM.framework/Commands/java 'StartAgentSim' '-b' '-seed=1'
risk:~/Work/MyPhDFiles/AresAccountCopyNov02/SwarmCode/PoissonTrafficStreamModels/QueueingNetwork acosta$

*********

can anybody tell me whether this is something that is easily fixed, or is it related to the deeper problems that exist with Java/Swarm/OSX ?

By the way, as has already been observed by others, j-heatbugs does not compile on my 10.3 system, due to problems with classes such as FAArgumentsImpl (although j-heatbugs did work on 10.2, but my own code did not).

Cheers,
Andre.


-------------------------------------------------
Andre Costa
Post-Doctoral Research Fellow
Centre of Excellence for Mathematics and Statistics of Complex Systems
University of Melbourne
Victoria, 3010
Australia

Email: address@hidden
Telephone: (03) 8344 1619
Fax: (03) 9347 8165
www.ms.unimelb.edu.au/~acosta/main.htm
------------------------------------------------

reply via email to

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