javaFX helloworld jar无法在不同平台上运行 [英] javaFX helloworld jar cannot be ran on different platform

查看:1257
本文介绍了javaFX helloworld jar无法在不同平台上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是这个JavaFX的新手,并不确定是否有人知道我做错了什么。以下是该场景:

I am new to this JavaFX stuff and not sure if anyone knows what I did wrong. Here is the scenario:


  1. 在win 7中,使用netbeans 8和jdk1.8.0_05创建了helloworld.jar

  2. 在win 7上,java -jar helloworld.jar工作正常

  3. 将helloworld.jar移动到Redhat 5.8并使用相同版本的jdk1.8.0_05,java -jar helloworld .jar。我看到以下错误

图形设备初始化失败:es2,sw
初始化QuantumRenderer时出错:找不到合适的管道

Graphics Device initialization failed for : es2, sw Error initializing QuantumRenderer: no suitable pipeline found

推荐答案

红帽企业Linux 5.8不是支持JavaFX在Java 8中的配置

Red Hat Enterprise Linux 5.8 is not a supported configuration for JavaFX in Java 8.

Red Hat Enterprise Linux 6。支持x(以及其他一些Linux变体)。

Red Hat Enterprise Linux 6.x (and some other Linux variants) is supported.

MidoriKid提供了一个允许在Red上使用JavaFX的过程Hat EL 5.x系统回答:在redhat 5.8上运行JavaFx jar 。请注意,虽然可以遵循该过程,但建议您使用更新的RHEL系统在支持的配置中运行JavaFX。

MidoriKid provides a procedure to allow JavaFX to be used on a Red Hat EL 5.x system in his answer to: running JavaFx jars on redhat 5.8. Note that although the procedure can be followed, it is recommended that you uses more recent RHEL system to run JavaFX in a supported configuration.

这篇关于javaFX helloworld jar无法在不同平台上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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