javaFX helloworld jar无法在不同平台上运行 [英] javaFX helloworld jar cannot be ran on different platform
问题描述
我是这个JavaFX的新手,并不确定是否有人知道我做错了什么。以下是该场景:
I am new to this JavaFX stuff and not sure if anyone knows what I did wrong. Here is the scenario:
- 在win 7中,使用netbeans 8和jdk1.8.0_05创建了helloworld.jar
- 在win 7上,java -jar helloworld.jar工作正常
- 将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屋!