To download the applet version, save these three files (right click and select "Save Link As..."):
Now in the same directory as the above two files, make a subdirectory called images and in it put these files:
Unix users can download everything at once with B.tar or B.tar.gz.
To run the applet, simply open the file "B.html" in your browser. The advantage to using a local copy of the B applet is not only do you save download time every time you use the applet, but some browsers relax their security model to local applets so you can read and write PDB files without having to import a security certificate (This is true for some versions of Netscape Navigator).
Note : The applet version currently cannot open / save files on a MacIntosh running Netscape Navigator. It can however, open / save files using Internet Explorer 4.5.
To download the application version, click here (or right click and select "Save Link As...").
The application version comes with all of class files and button images. It is in Java ARchive ( JAR ) format. To use the application version, you need to set up a running Java Development Kit ( JDK ) on your machine, version 1.1 or above. For instructions on installing the JDK, refer to Sun's web site. For platforms other than Windows or SunOS/Solaris, click here. Once the JDK is set up and your path is set correctly, you should be able to use the commands jar, and java.
Once you have the B.jar file, unpack it by issuing the command:
jar xf B.jar
This should expand all the class files and create the image directory. If your CLASSPATH environment variable is set correctly, you should now be able to run B by the command:
If this does not work, and gives the error message, "Could not find class B.class", your CLASSPATH environment variable may not be set correctly. At the very least it should contain the path of the B classes. In most cases, setting the classpath to include the current directory should suffice ( CLASSPATH=. ).
Some errors have been found when using the Just In Time (JIT) compiler option which is enabled by default in some JDK distributions ( notably Windows ). To disable the JIT option, type
java -nojit B
Mac users : You just need JBindery (and jar) from Apple's Java SDK 2.1, available at: http://devworld.apple.com/java/text/download.html
Once you unpack the files with jar, you merely drag and drop B.class onto JBindery. In JBindery you are given the option of saving as an application, which I just called B. From then on you just double-click on the application icon to launch it. That's all there is to it. Contributed by Randy Wadkins