[ILUG] Setting classpath for java media framework
John Moylan
johnm at rte.ie
Fri Mar 4 17:45:38 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
JMFHOME=3D"/usr/local/JMF-2.1.1e"
JAVA_HOME=3D"/usr/local/jdk1.5.0"
CLASSPATH=3D"$JAVA_HOME/src.zip:$JAVA_HOME/lib/tools.jar:$JMFHOME/lib/jmf.j=
ar:$JMFHOME/lib/mediaplayer.jar:$JMFHOME/lib/multiplayer.jar"
export LD_LIBRARY_PATH=3D$JMFHOME/lib:${LD_LIBRARY_PATH}
PATH=3D"$PATH::$JAVA_HOME/bin:/usr/local/eclipse:$JMFHOME/lib:$JMFHOME/bin"
export PATH JAVA_HOME JMFHOME
I have been using this on it's own (I don't have OO installed, and it
worked fine - although I had to do some messing to get the AWT stuff in
jmstudio working with JDK1.5)
Enjoy,
John
Marek wrote:
| Hi,
|
| Just installed the java media framework to get the media player and
embedding
| working with OOo 2.0bc. I can't get anything to play in OpenOffice,
nor get
| the "jmstudio" executable to run from the command line (in the jmf bin
| directory), I get an error as follows:
|
| Exception in thread "main" java.lang.NoClassDefFoundError: //jmstudio
|
|>From Googling, it seems I haven't got my classpath variable set
correctly, but
| I've tried a dozen or more versions of what's below in my
.bash_profile and
| nothing seems to make any difference whatsoever.
|
|>From .bash_profile:
|
| # User specific environment and startup programs
|
| PATH=3D$PATH:$HOME/bin
|
| export PATH
| export JAVAHOME=3D/usr/java/jre1.5.0_01/bin
| export JMFHOME=3D/usr/local/JMF-2.1.1e
| export CLASSPATH=3D/usr/java/jre1.5.0_01/lib:/usr/java/j2sdk1.4.2_07/lib:
| $JMFHOME/lib/jmf.jar:$JMFHOME/lib/sound.jar:.:
| export
|
LD_LIBRARY_PATH=3D$JMFHOME/lib:/usr/java/jre1.5.0_01/lib:/usr/java/j2sdk1.4=
.2_07/lib:
|
|
| Any help would be great.
|
| M.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCKJ7BHgDLUzVQ7OARAuxyAKC7sCytSJRzI18Eili71ncgNa9kAwCff2XO
2/yFB8cwotVrVB6e1ZCd1RQ=3D
=3DeHa7
-----END PGP SIGNATURE-----
***************************************************************************=
***
The information in this e-mail is confidential and may be legally privilege=
d.
It is intended solely for the addressee. Access to this e-mail by anyone el=
se
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in relian=
ce
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTE may be subject to the Freed=
om
of Information Act 1997 and may be liable to disclosure.
***************************************************************************=
***
More information about the ILUG
mailing list