
Chapter 14: Troubleshooting Common Problems
2. Edit the soffice executable that is used to invoke OpenOffice.org (maybe
/opt/openoffice.org2.0/program/soffice) and add the following near or at
else
LD_LIBRARY_PATH="$sd_prog$add_moz_lib"
fi
so it looks like this:
else
LD_LIBRARY_PATH="$sd_prog$add_moz_lib:$JMFHOME/lib"
fi
remembering to substitute $JMFHOME with the path to where JMF is installed and save
the file.
Integration of the JMF in OpenOffice.org
Around the JMF to use to be able the file must be added jmf.jar to the Classpath of the
Office. Select in addition in Extras|Optionen>OpenOffice.org>Java the Button “Class Path”.
In the appearing dialogue select the switching surface “archives add”. Change into the sublist
lib the JMF. Select jmf.jar and leave you the dialogues with “OK ONE”. Start
OpenOffice.org again like it the message required.
The JMF not exclusively consists of Java components. At least with the performance pack
some components are provided as native LIBRARies. The search path for the run time
libraries must be adapted accordingly. In addition you must set the environment variable
LD_LIBRARY_PATH. As is the case for the Classpath also the LD_LIBRARY_PATH is a
list from path data by a colon from each other separated is.
The instruction looks as follows out:
$ export LD_LIBRARY_PATH=/pfad/zu/JMF-2.1.1e/lib
Start now OpenOffice.org by means of soffice. If you made correct everything represent to
Multimediainhalte in OOo no more problem.
They can transfer the instruction also to the soffice script, then you do not need to enter the
instruction. Alternatively to it you can build it also into their other Startup/Login Skripte.
A first test
Over to test whether the installation of the JMF was so far successful starts you
OpenOffice.org and opens an empty document. Open the Gallery (Extras|Gallery) and click
you doubly on an entry from the range of “sounds”. The Media Player should appear and
play the selected file.
If they hear the clay/tone, then “congratulations!” - the first hurdle is taken: -)
(as example video you can e.g. invite motorcycle the video (~1.1MB) to use)
After all these steps you provided the basic structure. Already many audio and video formats
function, should you however to support for further formats need, then you read on simply.
Explained in the following sections like one the JMF “rigs”.
OpenOffice.org User Guide for 2.x 458
Comentarios a estos manuales