jmvfw.dll:无法在AMD 64位平台上加载IA 32位.dll [英] jmvfw.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

查看:297
本文介绍了jmvfw.dll:无法在AMD 64位平台上加载IA 32位.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

系统:
Win 7 64位

System: Win 7 64 bit

JMF通过启动JMstudio在我的系统上工作,找到我的驱动程序,并启动我的麦克风和网络摄像头。但是当我运行Netbeans代码时,它不起作用。

JMF works on my system by starting JMstudio, it finds my drivers and starts my mic and webcam. But when I run the Netbeans code it doesn't work.

我已经在本网站上按照这些步骤在Win 7 64bit上安装JMF,没有成功:
https://forums.oracle.com/thread/2134405 。我在所有其他有关这个问题的答案中搜索没有任何成功。我应该在我的64位上工作,这个链接粘贴在这里。

I have followed these steps on this website to install JMF on Win 7 64bit, without success: https://forums.oracle.com/thread/2134405. I have searched in all the other answers related to this problem without any success. It should work on my 64 bit as stated in the link I pasted here.

我已经安装了32位Java JDK,
从JMF安装中移动了DLL文件夹到System32和SysWOW64,
添加了代码和JMF.jar中的错误。

I have installed 32 bit Java JDK, Moved the DLL's from the JMF install folder to System32 and SysWOW64, No errors in the code and JMF.jar is added.

任何解决方案?
当我运行它,我得到以下错误:

Any solutions? When I run it, I get the following error:

Exception in thread "VFW Request Thread" java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkError: C:\Windows\System32\jmvfw.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
    at com.sun.media.JMFSecurityManager.loadLibrary(JMFSecurityManager.java:206)
    at com.sun.media.protocol.vfw.VFWCapture.<clinit>(VFWCapture.java:19)
    at com.sun.media.protocol.vfw.VFWSourceStream.doConnect(VFWSourceStream.java:241)
    at com.sun.media.protocol.vfw.VFWSourceStream.run(VFWSourceStream.java:763)
    at java.lang.Thread.run(Thread.java:724)


推荐答案

发现我的系统仍然运行64位Java,而我安装了32位。 Java 64位的跟踪仍然存在于我的系统上,所以我删除了所有的Java痕迹,然后在我的系统上安装了最新的Java JDK 7。复制,粘贴C:\程序文件(x86)\Java到C:\Program Files\Java,然后将PATH和CLASSPATH更改为C:\Program Files\Java。
java -version在cmd之后工作,Netbeans 7.4中的项目与JMF.jar运行并捕获我的网络摄像头。

I found out that my system was still running the 64 bit Java, while I installed the 32 bit. Traces of Java 64 bit were still present on my system, so I removed all traces of Java, then installed the latest Java JDK 7 on my system. Copy, pasted C:\Program Files (x86)\Java to C:\Program Files\Java, then changed the PATH and CLASSPATH to C:\Program Files\Java. java -version in cmd worked after this and the project in Netbeans 7.4 with JMF.jar runs and captures my webcam.

这篇关于jmvfw.dll:无法在AMD 64位平台上加载IA 32位.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆