piure Posted August 30, 2005 Report Share Posted August 30, 2005 Hello everybody, I installed Mercury Messenger in Mandriva 2005 LE. It is supposed to have webcam support but I need to unzip some files in the ${JAVA_HOME}/lib/i386 directory. Which directory is that? I did a $echo ${JAVA_HOME} but I had no answer. I hope somebody can help me. Regards. Quote Link to comment Share on other sites More sharing options...
jboy Posted August 30, 2005 Report Share Posted August 30, 2005 The java runtime environment files are probably in subdirectories off /usr/java. For example, mine is shown below: $ cd /usr/java $ ls -al drwxr-xr-x 7 root root 4096 Jul 16 15:10 jre1.5.0_04/ Then there will be a lib/i386 sub-directory off that. If that doesn't work, repost and we'll give you other commands to locate it. Quote Link to comment Share on other sites More sharing options...
devries Posted August 30, 2005 Report Share Posted August 30, 2005 For webcam support you don't need the extra files (only for videoconferencing). The wiki on the Mercury site btw is very good: http://www.mercury.to/index.php?page=Wiki&wikipage=FAQ Quote Link to comment Share on other sites More sharing options...
piure Posted August 30, 2005 Author Report Share Posted August 30, 2005 (edited) Devries, I am chilean so my native language is not english. I might be wrong but I guess I do need to install some extra files. What I want to do is to send webcam. So I am trying to follow the instructions in the following link, http://www.mercury.to/index.php?page=Wiki&...e=InstallingJMF Am I right or not? Regards. Edited August 30, 2005 by piure Quote Link to comment Share on other sites More sharing options...
piure Posted August 31, 2005 Author Report Share Posted August 31, 2005 jboy, I cannot find the directory you mention. :o Does that mean I have to install some additional package or something? Can you tell me some other directory in which I could find it? regards. Quote Link to comment Share on other sites More sharing options...
devries Posted August 31, 2005 Report Share Posted August 31, 2005 Sorry you're right. You need to install the JMF files to send a webcam stream (been ages since I did that :) ). Use the torrent to download the files. Then copy the VidConf-libs.jar and JavaLibs-windows.jar to /home/<your name>/Mercury/lib (only if you have installed Mercury in /home/your name of course). Then extract NativeLibs-linux.zip and copy them to /home/your name/Mercury/jre/lib/i386. (if you have installed Mercury without a jre copy the files to /usr/java/jre1.5xxx/jre/lib/i386 That's it. Open Mercury, option, settings, webcam and follow the instructions. Good luck PS: https://mandrivausers.org/index.php?showtopic=27127&hl=chili PS: Quote Link to comment Share on other sites More sharing options...
piure Posted August 31, 2005 Author Report Share Posted August 31, 2005 Sorry, But I cannot find the /usr/java directory (as I mention above). Should I create the directory? Does that mean I am missing to install something? Should I look somewhere else? Regards. Quote Link to comment Share on other sites More sharing options...
jboy Posted August 31, 2005 Report Share Posted August 31, 2005 Do you have the Java Runtime Environment installed? If not, go to http://www.java.com where you can download and install. Follow their instructions. If you have java installed, do the following to find it. $ su <enter root password> #updatedb #locate java | grep bin This should show you the directory where the java runtime files are installed. If the above locate command returns nothing, then you probably don't have it installed. Quote Link to comment Share on other sites More sharing options...
devries Posted August 31, 2005 Report Share Posted August 31, 2005 If you haven't installed a Java RE you can't use Mercury at all (it's a java app) so I guess you have downloaded Mercury Messenger with JVM. Just copy the files to /home/your name/Mercury/jre/lib/i386 That should be it. Quote Link to comment Share on other sites More sharing options...
piure Posted September 1, 2005 Author Report Share Posted September 1, 2005 Devries, I extracted the files at my home directory but it was no good at all. I can enter Mercury, but if I go to Global Settings---->Webcam-------->JMF Wizard , it says VidConf-libs.jar file found.: Passed VidConf-libs.jar in classpath: Passed JavaLibs-linux.jar file found: Passed JavaLibs-linux.jar in classpath.: Passed Native library files for Linux found: Failed So It cannot find the Native Linux Libraries. In the WIKI for Mercury messenger there is an instruction which I think is the key and I do not understand. I would really appreciate if you could have a look at it http://www.mercury.to/index.php?page=Wiki&...ibraryLocations I am trying to do Option 2 with no success. PS: I hope you have liked Chile. Regards. Quote Link to comment Share on other sites More sharing options...
devries Posted September 1, 2005 Report Share Posted September 1, 2005 The native Linux files comes in a zip file. You need to extract the files. Have you done that? If it doesn't work install Java. Download a rpm from java.com or add mcnl (a urpmi repository (see the tips and tricks forum)) and install java with urpmi. That will install java in /usr/java. After that just copy the files and start the Mercury version without JVM. PS: Chili was very nice :) Quote Link to comment Share on other sites More sharing options...
piure Posted September 4, 2005 Author Report Share Posted September 4, 2005 Devries, I finally installed JRE through URPMI and mcnl repository. The Webcam wizard says every file was found. Unfortunately my webcam is a Genius Videocam NB which has a V4l2 driver. I could make it work on Gnomemeeting after a lot of struggle . Does Mercury have v4l2 support? or will I have to get a new webcam :unsure: ?? Regards, Quote Link to comment Share on other sites More sharing options...
devries Posted September 4, 2005 Report Share Posted September 4, 2005 I've no idea. However you can always try linking (shouldn't be that different. It's just a video stream) so try (as root): ln -s /dev/v4l2/video0 /dev/video0 (if there already is a /dev/video0 make it video1). Good luck. Quote Link to comment Share on other sites More sharing options...
piure Posted September 6, 2005 Author Report Share Posted September 6, 2005 (edited) Devries, I cannot find the /dev/v4l2 If I do a $ [piure@localhost ~]$ xawtv -hwscan This is xawtv-3.94, running on Linux/i686 (2.6.11-6mdk) looking for available devices port 69-69 type : Xvideo, image scaler name : ATI Radeon Video Overlay /dev/video0: OK [ -device /dev/video0 ] type : v4l2 name : SN9C10x PC Camera flags: capture Do you have any idea why Mercury Messenger is not able to see the camera? If I use the JMF wizard it says there is no video capture device present. regards. Edited September 6, 2005 by piure Quote Link to comment Share on other sites More sharing options...
piure Posted September 19, 2005 Author Report Share Posted September 19, 2005 Folks, Close this topic Mercury Messenger does not support v4l2. I asked on the Mercury Messenger forum. link: http://forum.mercury.to/index.php?act=ST&f=42&t=10181 I guess I will have to wait or get another webcam. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.