• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMF problem

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have installed zanzibar in my linux machine in the path /usr/src/zanzibar-0.1/bin/zanzibar. Then i have installed jdk in the path /usr/src/zanzibar-0.1/bin/zanzibar/jdk1.6.0_04 and jmf in the path /usr/src/zanzibar-0.1/bin/zanzibar/JMF-2.1.1e and i have tried to connect the pbx and zanzibar using the command ./asteriskConnector.sh. For this I have set the path as follows:


[root@localhost ~]# cd /usr/src/zanzibar-0.1/bin/zanzibar
[root@localhost zanzibar]# export ZANZIBAR_HOME=/usr/src/zanzibar-0.1
[root@localhost zanzibar]# export JAVA_HOME=/usr/src/zanzibar-0.1/bin/zanzibar/jdk1.6.0_04/
[root@localhost zanzibar]# ./asteriskConnector.sh
ERROR: Java Media Framework (JMF) is not installed.
Please download and install JMF from Sun Java web site:
http://java.sun.com/products/java-media/jmf/
Error occurred


But i have installed jmf in the path /usr/src/zanzibar-0.1/bin/zanzibar/JMF-2.1.1e already. please assist me to solve this problem

Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would assume that what "Java Media Framework (JMF) is not installed" means is that the JMF libraries aren't in the classpath of whatever Java process is started by "asteriskConnector".
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks ulf. Do you mean that I need to mention the JMF_HOME class path as export JMF_HOME=/usr/src/zanzibar-0.1/bin/zanzibar/JMF-2.1.1e/lib/jmf.jar? If so I have done that. But still the same error.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure what JMF_HOME is used for. Have you tried adding the JMF libraries to the relevant classpath explicitly?
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have tried like this also:


export JMFHOME= /usr/src/zanzibar-0.1/bin/zanzibar/JMF-2.1.1e
export CLASSPATH= $JMFHOME/lib/jmf.jar:.:${CLASSPATH}
export LD_LIBRARY_PATH= $JMFHOME/lib:${LD_LIBRARY_PATH}



I think the LD_LIBRARY_PATH is used to add libraries to the path. Am i correct? But I am getting the same error
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The native libraries aren't crucial. They provide better performance, but JMF works just as well without them.

Are you certain that the asteriskConnector.sh script doesn't redefine CLASSPATH? Make sure that whatever classpath it uses -and it may not use the CLASSPATH variable at all- contains the JMF libraries.
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry ulf. could you please explain me briefly? I dont understand.
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic