MachinePublishers / jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java
Other
809 stars 143 forks source link

CentOS Java/JavaFX installation instructions for readme #193

Open caokaifang opened 7 years ago

caokaifang commented 7 years ago

Graphics Device initialization failed for : sw Error initializing QuantumRenderer: no suitable pipeline found java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280) at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:221) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:205) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:695) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(LauncherImpl.java:182) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)

caokaifang commented 7 years ago

jBrowserDriver:0.16.4

hollingsworthd commented 7 years ago

Try adding -Djbd.rmi.prism.verbose=true to the Java command line. That will print out a more detailed error about which lib fails to load. Googling the output name which help you track down which CentOS package you need. I think the dependencies are essentially libgtk2.0, libxtst6, libxslt1.1, fonts-freefont-ttf, and libasound2. Those are Ubuntu package names, not sure what the CentOS equivalent is.

karlisSan commented 7 years ago

Hi caokaifang,

I'm using CentOS 6.7 and installing ...

yum install gtkhtml2 libXtst libxslt alsalib

It works. That's it! Hope it helps!

Greetings!

caokaifang commented 7 years ago

Thank you very much,I will try

发自网易邮箱大师 On 10/14/2016 15:20, karlisSan wrote:

Hi caokaifang,

I'm using CentOS 6.7 and installing ...

yum install gtkhtml2 libXtst libxslt alsalib

It works. That's it! Hope it helps!

Greetings!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.