
Chapter 14: Troubleshooting Common Problems
Installation of an additional Plugins: The mp3-Plugin
The JMF supported some medium types, many must be re-tooled however only. Simply to
re-tool is the MP3-Unterstützung. But there are already a Plugin which you by the JMF side
downloaded can.
Download yourselves thus the mp3-plugin of http://java.sun.com/products/java-
media/jmf/mp3/download.html. The Plugin is driven out in form of Zip archives, which
contain the actual files. Where you the mp3plugin unpack are for OpenOffice.org without
meaning - for OOo only the “Class Path” attitude in the options counts. It is recommendable
that you copy the Plugin into a listing lib/ext or directly into lib the listing of the JMF.
Completely simply because one has then everything together which belonged together. They
know the Plugin naturally also into the listing lib/ext the JRE to install. They have the agony
of the choice. : -)
Registration of the Plugins in the JMF
So that the mp3-plugin in the JMF can be used, you must register the Plugin in the JMF.
For registration you implement the following steps:
Open a terminal window
the environment variable CLASSPATH set, so that in it both jmf.jar and the mp3plugin.jar
are indicated:
$ export CLASSPATH=/pfad/zu/jmf.jar: /pfad/zu/mp3plugin.jar
(The paths are separated by a colon)
the actual registration command implement:
java com.sun.media.codec.audio.mp3.JavaDecoder
For the conclusion of the registration you are to receive registered ones as only message
succesfully. Every other message is an indication of an error.
Note: If you installed the JMF as “roots”, you must likewise register the Plugin as “roots”.
Otherwise the configuration file of the JMF cannot be updated.
Here the procedure is held in a screen SHOT. Installed in this example the mp3plugin.jar as
above mentioned into a Unterordner lib/ext the JMF.
Integration of the Plugins in OpenOffice.org
If you add the file mp3plugin.jar, how described with the installation of the JMF, the
Classpath of OpenOffice.org in addition (Extras|Optionen>OpenOffice.org>Java, switching
surface “Class Path”, then “adds archives”)
OpenOffice.org User Guide for 2.x 459
Comentarios a estos manuales