1. On what platforms does The Beanery run?

2. How do I start The Beanery?

3. Can I start The Beanery with an initial file loaded?

4. What if The Beanery doesn't start?

5. Generate bean: Do I lose changes if I overwrite a file?

6. Compile bean: Can't find text resources. Why not?

7. On what platforms does the make file work?


1. On what platforms does The Beanery run?

The Beanery is written completely in Java and should run on any platform that supports Java 1.1.0 or later. The JDK for the execution platform  must be installed, since The Beanery makes use of the Java compiler built into the JDK libraries.

The Beanery has been tested on OS/2 Warp 4.0 with IBM JDK 1.1.1, Windows NT 4.0 with Sun JDK 1.1.4, Windows 95 with Sun JDK 1.1.4, and IBM AIX 4.1.3 with IBM JDK 1.1.2.

[Goto Top]

2. How do I start The Beanery?

A convenience program is provided for each platform for starting up The Beanery.

  • On OS/2, run.cmd.
  • On Windows, run.bat.
  • On Unix, run.sh.

Go to the directory in which The Beanery is installed, and type run (or run.sh on Unix) to start it.

You may also start The Beanery manually by adding Beanery.jar, sk.jar and your output directory to the CLASSPATH and then invoking the java vm, using the command java com.ibm.beanery.Beanery.

[Goto Top]

3. Can I start The Beanery with an initial file loaded?

You can load a bean model into The Beanery at startup by including its name as a parameter to the run command or the java command. For instance, run SimpleLabel.beanery will load the previously stored bean model as part of the startup. This feature may be used with the association feature of operating system shells to enable automatic launch of The Beanery when a .beanery file is opened.

[Goto Top]

4. What if The Beanery doesn't start?

The most common problem resulting in The Beanery not starting is a problem with the CLASSPATH. If you are using the run command, ensure that you are in the directory in which the jar files were installed, that you are using Java version 1.1.0 or later, and that Java can start correctly (you may try one of the sample programs).

If your Java version is older than 1.1.0, then The Beanery will not run, since it requires services from this level of the Java libraries.

[Goto Top]

5. Generate bean: Do I lose changes if I overwrite a file?

YES. Overwrite is a replacement of a file, not an update to it. If any changes were made to the file, then they will be lost.

[Goto Top]

6. Compile bean: Can't find text resources. Why not?

Why not? This is a typical symptom when your CLASSPATH statement does not correctly match up with your output directory. When the Java compiler runs, it compiles the base class, but cannot find the related file (in this case the text resource file) because the CLASSPATH is not set up correctly.

To fix this, change the directory entry at the end of the CLASSPATH statement to match the output directory specified on the Settings page.

[Goto Top]

7. On what platforms does the make file work?

The make file generated by The Beanery only works on Windows and OS/2. It should work with any make utility that supports NMAKE compatible text files. This file should be relatively easy to convert to Unix make file formats.

[Goto Top]