GL4Java on MacOS X:

A port of the linux GL4Java is available at:

There are seperate versions depending on which VM you are using (1.3.1 or 1.4.1). Installation is rather simple; the text file included is rather straightforward (you must have administrative access to install). I have found that 3D simulations load flawlessly under the Hotspot 1.3.1 environment. The version for 1.4.1 seems to work improperly, with respect to Etomica.

Running simulation Applets locally from MacOS X (applets from the ce530 class and Wings server):

Version 10.2 and Later:

There are no special instructions needed for MacOS 10.2 and later. All Applets load without extra manipulation. Additionally, Applets will now load in Netscape 7.x, and all beta/1.0 versions of Safari .

Version 9:

For system 9 and below, the simulation applets should work fine when being run from a webserver, but since there are limitations on file name length in the classic system environment, some of the files may get there "tails" chopped off, and when the applet goes to load, it won't be able to find the right files. Web browsers don't really have any limit on the characters they can read in a name, so the applets will work when being read from a websever (which is probably unix based), as opposed to being read from a local mac system 9.2 or below.

Version 10.1.5:

Here is what I found so far running Java Applets (those created with etomica) locally on MacOS 10.1.5. MacOS 10.1.5 supports Sun's Hotspot JDK/JRE 1.3.1. Under this VM, most applets run "okay," however some do not load at all. Below are steps I've found that correct almost all errors and allow the applets to run without problem.

Expanding the Applets Archive: Early versions of StuffIt Expander for System X sometimes chops off the ends of really long file name (Version 7 and above do not have this limitation). So if using an older version of StuffIt Expander, do as follows:

Running the Applets Locally: Early versions of Netscape for System X have very poor Java support. I suggest using Internet Explorer 5.2, it has better support for Java than 5.1.
Loading the index pages as said, I found that all the applets worked from the ce530 folder, however only a few worked from the wings folder. I added a new classpath to IE to use sun's java resources that are included. To do this, go to preferences and click on the java tab under the category "Web Browser". Click Add under the section Class Paths. Navigate the following path, starting in your Hard disk (mine is called "Macintosh HD"):

Macintosh HD/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar

You'll have to close and reopen Internet Explorer, but then most of the applets should work.
Additionally, I found that quitting and restarting Internet Explorer after each using an Applet also helped to allow for easy operation of the Applets.

Alternatively, you can use the "Applet Launcher" which is located in the Utilities folder in your applications folder. Open the html file associated with a given applet.

(Chris Iacovella 7/25/02 revised 05/27/03)

Permission is granted to use Etomica and the other material on this site for your own academic research and instruction. All other rights are reserved. In particular, you may not use Etomica for any commercial purposes, nor may you redistribute it in any fashion. If these restrictions cause problems for you, and you wish to do more with this software now, please contact us.

Etomica is dedicated to the memory of Bryan Mihalick.

Department of Chemical Engineering | Center for Computational Research | University of Buffalo |
School of Engineering and Applied Sciences | Contact Etomica Support
This material is based on work supported by the National Science Foundation and performed in the Chemical Engineering Department at the University of Buffalo.