LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Setting classpath for java media framework

[ILUG] Setting classpath for java media framework

David Jamison david.jamison1 at ntlworld.com
Thu Mar 24 10:00:34 GMT 2005


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=$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
> |
> LD_LIBRARY_PATH=$JMFHOME/lib:/usr/java/jre1.5.0_01/lib:/usr/java/j2sdk1.4.2_07/lib: 
>
> |
> |
> | 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
http://www.fedoraforum.org/forum/showthread.php?t=44644&highlight=eclipse
(I know it relates to both Fedora and Eclipse but I assume the same 
principles applies.)
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!

David



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell