本文介绍了使用xuggle无需安装了Java Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个截屏小程序的Windows操作系统。该applet使用xuggle为en code和德code的影片。它给当xuggle未在系统上安装了以下错误,因为它试图加载一些本土code:
I have created a Screencast applet for WIndows OS. The applet uses xuggle to encode and decode videos. It gives the following error when xuggle is not installed on the system as it tries to load some native code:
2012-07-29 12:40:28,452 [AWT-EventQueue-2] ERROR com.xuggle.ferry.JNILibraryLoader -
Could not load library: xuggle-ferry; version: 3;
Visit http://www.xuggle.com/xuggler/faq/ to find common solutions to this problem
Exception in thread "AWT-EventQueue-2" java.lang.UnsatisfiedLinkError: no xuggle-ferry in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary0(JNILibraryLoader.java:265)
at com.xuggle.ferry.JNILibraryLoader.loadLibrary(JNILibraryLoader.java:168)
at com.xuggle.ferry.FerryJNI.<clinit>(FerryJNI.java:14)
at com.xuggle.ferry.JNIMemoryManager.<clinit>(JNIMemoryManager.java:871)
at com.xuggle.mediatool.MediaWriter.<clinit>(MediaWriter.java:119)
at com.xuggle.mediatool.ToolFactory.makeWriter(ToolFactory.java:149)
如何安装被淘汰。这样的小程序直接运行在任何系统上。
How can the installation be eliminated. So that the applet runs directly on any system.
推荐答案
使用较新的版本Xuggler。从5.4就不需要安装了开始,本地库从罐子里载入文件本身。
Use a newer Xuggler version. Starting from 5.4 it does not require installation anymore, native libraries are loaded from the jar file itself.
这篇关于使用xuggle无需安装了Java Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!