[
https://issues.jboss.org/browse/JBDS-3676?page=com.atlassian.jira.plugin....
]
Ilya Buziuk commented on JBDS-3676:
-----------------------------------
Today I tried to use openjfx but got error on dll level when tried to launch BrowserSim:
{code}
java.lang.UnsatisfiedLinkError: C:\Program Files\Zulu\zulu-8\jre\bin\glass.dll: Can't
find dependent libraries
Stack trace:
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: C:\Program
Files\Zulu\zulu-8\jre\bin\glass.dll: Can't find dependent libraries
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:267)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)
at javafx.embed.swt.FXCanvas.initFx(FXCanvas.java:295)
at javafx.embed.swt.FXCanvas.<init>(FXCanvas.java:259)
at
org.jboss.tools.browsersim.browser.javafx.JavaFXBrowser.<init>(JavaFXBrowser.java:51)
at
org.jboss.tools.browsersim.browser.WebKitBrowserFactory.createBrowser(WebKitBrowserFactory.java:28)
at
org.jboss.tools.browsersim.ui.skin.ResizableSkin.createControls(ResizableSkin.java:92)
at org.jboss.tools.browsersim.ui.BrowserSim.initSkin(BrowserSim.java:176)
at org.jboss.tools.browsersim.ui.BrowserSim.open(BrowserSim.java:155)
at org.jboss.tools.browsersim.ui.BrowserSim.open(BrowserSim.java:130)
at org.jboss.tools.browsersim.ui.launch.BrowserSimRunner.main(BrowserSimRunner.java:119)
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\Zulu\zulu-8\jre\bin\glass.dll:
Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:112)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:120)
at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:118)
at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:91)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:91)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatformFactory.java:39)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatformFactory.java:36)
at com.sun.glass.ui.Application.run(Application.java:146)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:257)
... 10 more
{code}
I guess I need to play with building openjfx more - BrowserSim should work against
openjfx, cause the main differences between javafx and openfx are
- absence of ON2 VP6 video codec (owned by google)
- absence of WebStart/Browser Embedded application deployment technology
^ both are not used by BrowserSim
As Max said openjfx is not included to currently released distros and one should build it
manually from scratch. I'm not aware of the plans about adding openjfx to redhat
distro of openjdk (zulu is not going to do that in a short run) but some people are
interested in it -
https://support.azul.com/hc/communities/public/questions/201638904-REQUES...
. So, if we want to add openfx support I guess it should be added not to installer but to
openjdk
BrowserSim cannot start on openjdk (windows)
--------------------------------------------
Key: JBDS-3676
URL:
https://issues.jboss.org/browse/JBDS-3676
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: browsersim
Affects Versions: 9.1.0.CR1
Reporter: Jan Richter
Assignee: Ilya Buziuk
Labels: havoc, openjdk
Running JBDS on Azul OpenJDK 8, Windows 10.
Starting BrowserSim fails with the following error:
{noformat}
BrowserSim has failed to start with the following error:
"To use BrowserSim please install Safari or run BrowserSim with Oracle Java 7u7 and
higher."
Also see BrowserSim FAQ.
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)