JavaFX和旧PC与Windows XP [英] JavaFX and old PC with Windows XP

查看:487
本文介绍了JavaFX和旧PC与Windows XP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道使用JavaFX 2.1制作gui的独立应用程序是否可以在装有Windows XP的旧计算机上运行,​​因为这个应用程序适用于该计算机。我问,因为我对JavaFX很感兴趣,似乎该技术有很高的要求,上次我发出警告:检测到错误的驱动程序版本,设备已禁用。请将驱动程序更新至至少版本8.15.10.2302 。

I wonder if my standalone application that gui is being made using JavaFX 2.1 would run on a quite old computer with Windows XP, because this app is intended to work on that computer. I'm asking because I'm begginer to JavaFX and it seems like that technology has quite high requirments, last time I've got warning: "bad driver version detected, device disabled. Please update your driver to at least version 8.15.10.2302".

推荐答案

如果您的机器满足最低系统硬件要求并且安装了最新的图形驱动程序,则JavaFX 2.1应该可以工作在Windows XP计算机上。

If your machine meets the minimum system hardware requirements and you have a recent graphics driver installed, then JavaFX 2.1 should work on your Windows XP machine.

JavaFX是否可以在计算机上运行取决于计算机中的硬件以及安装的图形驱动程序。

Whether JavaFX will work on a machine depends on the hardware in the machine as well as the graphics driver installed.

以下是 JavaFX 2.1系统要求

您引用的版本字符串似乎是针对集成的Intel芯片组图形驱动程序。您可以下载此类英特尔司机

The version string you reference would appear to be for an integrated Intel chipset graphics driver. You can download current versions of such drivers from Intel.

更新


如果您的系统不支持硬件加速,那么JavaFX
使用Java2D软件管道 - 只是为了确定,我的程序仍然是
工作,但图形较差,对吗?

If your system does not support hardware acceleration, then JavaFX uses the Java2D software pipeline" - just to be sure, my program will still work, but with poorer graphic, right?

至少在某些情况下使用较旧的驱动程序,似乎该应用程序将起作用回归软件管道。虽然这种后备将适用于大型旧的硬件和软件组合的百分比,我不认为它已经完全测试给定各种旧的硬件和驱动程序组合和我不要认为程序仍能按预期运行。

At least in some cases with older drivers, it would seem that the app will work by falling back to a software pipeline. While this kind of fallback will work for a large percentage of older hardware and software combinations, I don't think it is fully tested given a wide variety of older hardware and driver combinations and I don't think there is a guarantee that the program will still run as expected.

下面概述了我使用JavaFX 2.0和2.1的经验。

The below outlines my experience with JavaFX 2.0 and 2.1.

如果图形硬件未在JavaFX系统要求中列为支持硬件加速,那么JavaFX将回退到软件渲染器并且应用程序将起作用(尽管可能性能降低且缺乏访问某些条件特征,例如(可能)效果或3D渲染)。这种情况应该非常罕见,因为JavaFX支持各种硬件加速硬件。

If the graphics hardware is not listed in the JavaFX system requirements as being supported for hardware acceleration, then JavaFX will fall back to the software renderer and the app will work (albeit with potentially reduced performance and lack of access to some conditional features such as (perhaps) effects or 3D rendering). This scenario should be pretty uncommon as JavaFX supports a wide variety of hardware acceleration hardware.

如果图形硬件在JavaFX系统要求中列为支持硬件加速和驱动程序是最新的,然后JavaFX将使用硬件渲染器,您的应用程序将工作。这是迄今为止最常见的情况 - 在过去几年中购买的任何桌面都应满足最低JavaFX硬件加速规范和驱动程序要求。

If the graphics hardware is listed in the JavaFX system requirements as being supported for hardware acceleration and the drivers are up to date, then JavaFX will use the hardware renderer and your app will work. This is by far the most common scenario - any desktop purchased in the last few years should meet the minimum JavaFX hardware acceleration specifications and driver requirements.

如果图形硬件已列出在JavaFX系统要求中支持硬件加速并且驱动程序没有达到JavaFX正常运行所需的级别,那么应用程序可能无法运行(应用程序可能会回退到软件管道并继续运行或者您可能会收到消息声明驱动程序需要更新)或应用程序只会开始遇到渲染错误,可能会冻结或崩溃。这种情况应该只发生在非常低​​百分比的可能的运行时目标上。

If the graphics hardware is listed in the JavaFX system requirements as being supported for hardware acceleration and the drivers are not at a level required for JavaFX to function correctly, then the app may not work (the app may fallback to the software pipeline and continue running or you may get a message stating that the drivers need updating) or the app will just start experiencing rendering errors and possibly freezing or crashing. This scenario should only occur on a very low percentage of possible runtime targets.

如果您有硬件和驱动程序组合的实例,其中JavaFX的行为不符合您的意愿(即没有正确执行你的程序,记录虚假异常或冻结和崩溃),然后用硬件提交 jira问题和软件规范让JavaFX团队考虑为该组合提供支持。

If you have instances of hardware and driver combinations where JavaFX is not behaving as you would wish (i.e. not correctly executing your program, logging spurious exceptions or freezing and crashing), then file a jira issue with the hardware and software specifications to get the JavaFX team to look into providing support for that combination.

这篇关于JavaFX和旧PC与Windows XP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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