Getting Started with Java Demography 2.0 |
You have your choice in the ways that you can use JAVA Demography. You may use it directly from a web browser, such as Netscape (4.x or higher) or Internet Explorer (4.x or higher), you may use a special program designed to run applets (e.g., Apple's "Applet Runner"), or you may run it either in Windows or on a Mac as a stand-alone application. This flexibility is great; it is one of the main reasons that we chose to rewrite Demography in Java. There are, however, costs and benefits and minimal requirements associated with each option. In this section we provide a brief introduction to what you will need for each option, and we discuss the advantages and disadvantages of each approach.
NOTE: Check the Biology Software Lab web page for news on updates and upgrades, or sign up to be on the BSL listserve to keep informed via e-mail.
|
|
Most recent versions of web browsers have the ability to run Java applets. Unfortunately, we have found it extremely difficult to get Demography to run properly using the many different Java interpreters that are built in to current web browsers.
To circumvent these problems, we have chosen to focus on compatibility with Java plug-ins. Plug-ins are available for both Macintoshes and PC's, as well as most other machines. If you have any difficulty running Demography from within your web browser, we strongly urge you to install the appropriate Java plug-in and try again!
In addition, we have made extensive use of a set of interface tools produced by Sun Microsystems called the Java Foundation Classes, aka "Swing". These tools are built into Java 2.0. If you are using Java 1.1.x, however, you will also need to download and install the Swing components. NOTE: This version of Demography requires a Java 1.1 or Java 2.0 interpreter. It will not work with Java 1.0.
(Software Installation on the Mac will require about 40 megs of hard disk space)
Please note that the Mac Java plug-in will not work with versions
of Netscape below 4.0.
For Internet Explorer 4.x: Click on "Preferences" on the tool bar. Select "Java" from the list on the right of the dialog box (see below). Make sure that Java is enabled, that Apple MRJ is chosen as the Java virtual machine, and that the swingall.jar and mac.jar files are listed under "Class Paths".

|
|
Much of what was said above also pertains to using "applet runners" or "applet viewers". These programs, however, are designed to use the Java Virtual Machine that is installed into your operating system. The Java plug-in is not required.
(Software Installation on the Mac will require about 40 megs of hard disk space)
Applet Runner is automatically included in your MRJ installation
package.
|
|
Stand-alone versions are not available at this time! This should be coming in the very near future.
|
|
The main advantage of using a web browser is that the applet can be embedded in a group of web pages that include instructions and other curricular materials. This manual is an example of that. On the other hand, web browsers can be memory-intensive. If you are using an older computer with limited memory, you might choose to use an applet viewer or the stand-alone version.
One of the main advantages of the stand-alone version is the ease of printing, and opening and saving files. For Windows and Unix users this is less of a problem, because these features are accessible from the Java applet provided that you have obtained a "key". At the moment, though, these features are not available for Applets on the Mac.
| . |