How to launch the Oracle Forms Builder 11g

Yesterday I had the privilege of installing Oracle Forms on a Linux machine and then attempting to get the Forms Builder application running. Searching for documentation on how to do this was impossible, all I found where a lot of links to articles asking for help because it wouldn’t start.

The errors that I was getting while trying to launch Forms Builder where:

FRM-91111: Internal Error: window system startup failure.
FRM-10039: Unable to start up the Form Builder.

Below are the commands that I entered to get it working on my Oracle SOA Virtual Box VM downloaded from Oracle. I took this base install box and then installed Forms using their documentation.

To launch Forms Builder open a terminal window and type the following:
Note /oracle/middleware was my middleware install location for forms and I had created a Oracle_FRHome1 in there when installing Forms. /oracle/javahome/ was where Oracle put their JDK on the VM, if your server is different then you’ll need to make sure you change these paths to your JDK location. These are referred to in PATH, LD_LIBRARY_PATH and JAVA_HOME.

cd /oracle/middleware/Oracle_FRHome1/asinst_1/bin
export ORACLE_HOME=/oracle/middleware/Oracle_FRHome1
export PATH=/oracle/middleware/Oracle_FRHome1/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/oracle/javahome/jdk1.6.0_29/jre/lib/amd64/native_threads/
export FORMS_BUILDER_CLASSPATH=$ORACLE_HOME/jlib
export NLS_LANG=
export MW_HOME=/oracle/middleware/
export JAVA_HOME=/oracle/javahome/jdk1.6.0_29/
export PATH=/oracle/javahome/jdk1.6.0_29/bin/:$PATH
./frmbld.sh

Verify these values are correctly set by typing echo $ORACLE_HOME etc. and type java -version to verify that the correct java is being used.

Critical Note: The part that differs here from all the other blogs on this issue is that I am running the script frmbld.sh in /oracle/middleware/Oracle_FRHome1/asinst_1/bin/ rather than the actual application file which is just frmbld and located somewhere else.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s