[ILUG] Setting classpath for java media framework
david.jamison1 at ntlworld.com
Thu Mar 24 10:00:34 GMT 2005
> | Hi,
> | Just installed the java media framework to get the media player and
> | 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=$PATH:$HOME/bin
> | export PATH
> | export JAVAHOME=/usr/java/jre1.5.0_01/bin
> | export JMFHOME=/usr/local/JMF-2.1.1e
> | export CLASSPATH=/usr/java/jre1.5.0_01/lib:/usr/java/j2sdk1.4.2_07/lib:
> | $JMFHOME/lib/jmf.jar:$JMFHOME/lib/sound.jar:.:
> | export
> | Any help would be great.
> | M.
I had all kinds of problems with that error message installing Eclipse
on Sunday. You might find the following link useful
(I know it relates to both Fedora and Eclipse but I assume the same
I also had problems with permissions on the various directories in that
when I got Eclipse to run as root when I changed to a user account
Eclipse started out by giving compile errors which was solved by
adjusting the permissions.
Hope this is of some use!
More information about the ILUG