Closed Devopssquadtechire closed 4 years ago
missing java fx?
You need to have an jdk running that includes the JavaFX packages. For instance zulufx (if you are looking for an open jdk) or oracle jdk8. Since you are using oracle jdk8 it's strabge you getting this error because this jdk should include fx.
This has to do with issue #341
would be nice if someone could do a jbrowser release that will bring the necessary javaFx classes with it to work with JDKs that are not including JavaFx packages anymore (what in turn are all mordern jdks...)
Making a distribution to include javafx would mean bundling our own JRE which to me doesn't seem like what an library like this should be doing.
Yeah in the last couple of years linux distros tended to make JavaFX a separate package from the JDK necessitating a step to install e.g. openjfx (apt-get install openjfx on ubuntu).
Any news? I have the same issue, I tried to import javafx manually but it didn't fix it
plugins {
..
id("org.openjfx.javafxplugin") version "0.0.10"
}
..
javafx {
version = "17.0.1"
modules = modules + "javafx.controls"
}
java.lang.NoClassDefFoundError: com.sun.webkit.network.CookieManager at com.machinepublishers.jbrowserdriver.JBrowserDriverServer.main(JBrowserDriverServer.java:80) Caused by: java.lang.ClassNotFoundException: com.sun.webkit.network.CookieManager
i am getting the above error for redhat linux 7.4 (RHEL) we are using IBM J9VM oracle jdk8u91-b14
is the JVM/JDK missing something? How to get rid of this error?