使用xuggle无需安装了Java Web应用程序

编程入门 行业动态 更新时间:2024-10-26 04:30:34
本文介绍了使用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 www.xuggle/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应用程序

本文发布于:2023-10-28 08:41:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1536127.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   安装了   xuggle   Web   Java

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!