On UNIX/Linux platforms, always run the builders using the script provided, and not by running thestandalone executable: this way, you can be sure CLASSPATH and LD_LIBRARY_PATH will be setcorrectly.As for Developer 6
, the builders on Linux and Solaris are Motif executables, so require a valid Xserver and display. They can be run from a properly configured X emulator.To test that you will be able to run the builders, try running a standard X application such as xclock. If you cannot do so successfully, you must resolve the issue before trying to run the builders.
Section 2: Running the Forms Builder
This section assumes you are running the builder on the Release 12 Application tier for either Linux,Solaris or Windows.
Linux and Solaris
First, source the Oracle Applications generated OracleAS 10.1.2 environment file. The environmentfile will be located under the 10.1.2 subdirectory of the Release 12 instance home. For example,assuming Release 12 is installed under /slot01/appmgr, and the instance name is "txk123", source thefollowing file:
The above could also be written as $ORACLE_CONFIG_HOME/txk123.env, or $INST_TOP/ora/10.1.2/txk123.env. You can look up $ORACLE_CONFIG_HOME in the Help->AboutWindow of a Release 12 Forms session if you are not sure of the underlying directory structure. TheForms Help->About Window displays settings for the OracleAS 10.1.2 Oracle home.Second, modify the environment variable FORMS_PATH, so the referenced forms can be found.Referenced forms are only required by the builder and compiler. The compiler merges in everything itneeds from the referenced form when it generates the .fmx, so the referenced forms are not used atruntime; this is the reason they are not in the default FORMS_PATH.
This assumes you are working with the US English version of the form. For other languages, add theappropriate language subdirectory to FORMS_PATH in place of US. The referenced objects will thenbe in the correct language.Launch the builder by running the following command:
use the frmbld.sh script, under $ORACLE_HOME/bin. Do not run the executablestandalone. After sourcing the 10.1.2 environment file, $ORACLE_HOME should be set to~/apps/tech_st/10.1.2, and $ORACLE_HOME/bin should be included in $PATH.Be aware that Forms searches the current working directory ($PWD) for referenced forms andlibraries before FORMS_PATH. If you run the builder from your home directory, and have old copiesof fmb's and pll's saved there, these will be picked up instead.