JavaFx Library Not Found

339 views
Skip to first unread message

gunasekaran sambandhan

unread,
Mar 17, 2016, 8:06:56 AM3/17/16
to qz-print
Hi,
am getting JavFx Library Not found exception when I click PrintHtml in Sample.html.

Have Installed JRE 1.8.0_76 in Windows 10 Laptop.

Please help me how to printHtml. I need to implement this in my Asp.Net MVC 6 Application.

Thanks,
Gunasekaran S

Tres Finocchiaro

unread,
Mar 17, 2016, 9:16:43 AM3/17/16
to gunasekaran sambandhan, qz-print
Gunasekaran,

I assume you're using the 2.0.0-RC3 installer.

Java FX is bundled with Oracle Java 7 and higher, so this shouldn't occur.  Note, Java 8 is a hard requirement for high-resolution HTML printing.

A good place to start is to run in debug mode per:

To take it a step further, you could try launching it explicitly against the Java 8u76 version by doing something like this:
C:\> "c:\Program Files\Java\jre1.8.0_76\bin\java.exe" -jar "%PROGRAMFILES%\QZ Tray\qz-tray.jar"

And post the output when this crash occurs.

If the crash doesn't occur when you're running explicitly from Java 8, you'll have to troubleshoot why your system is running the incorrect version of Java

-Tres

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gunasekaran sambandhan

unread,
Mar 18, 2016, 6:34:56 AM3/18/16
to qz-print, guna...@gmail.com
Thanks Tres for you quick reply. below is the output of the cmd for which you suggested,

C:\Users\Gunasekaran>"c:\Program Files\Java\jre1.8.0_76\bin\java.exe" -jar "%PROGRAMFILES%\QZ Tray\qz-tray.jar"
[DEBUG] 2016-03-18 21:30:18,050 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1, /v, Flags]
[DEBUG] 2016-03-18 21:30:18,160 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\ExperimentalFeatures, /v, AllowLocalhostLoopback]
[DEBUG] 2016-03-18 21:30:20,487 @ qz.auth.Certificate:?
        Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
[INFO] 2016-03-18 21:30:20,487 @ qz.auth.CRL:?
        Loading CRL from https://crl.qz.io
[DEBUG] 2016-03-18 21:30:21,250 @ qz.utils.ShellUtilities:?
        Executing: [C:\WINDOWS\system32\reg.exe, query, HKCU\Software\Microsoft\Windows\CurrentVersion\Run\, /v, QZ Tray]
[INFO] 2016-03-18 21:30:21,307 @ qz.deploy.DeployUtilities:?
        SSL properties file from C:\Program Files\QZ Tray\qz-tray.properties
[WARN] 2016-03-18 21:30:23,381 @ org.eclipse.jetty.util.component.AbstractLifeCycle:212
        FAILED ServerConnector@6bdf28bb{HTTP/1.1}{0.0.0.0:8182}: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:366)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at qz.ws.PrintSocketServer.runServer(Unknown Source)
        at qz.ws.PrintSocketServer.main(Unknown Source)
[WARN] 2016-03-18 21:30:23,483 @ org.eclipse.jetty.util.component.AbstractLifeCycle:212
        FAILED ServerConnector@1d251891{SSL-HTTP/1.1}{0.0.0.0:8181}: java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:366)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at qz.ws.PrintSocketServer.runServer(Unknown Source)
        at qz.ws.PrintSocketServer.main(Unknown Source)
[WARN] 2016-03-18 21:30:23,506 @ org.eclipse.jetty.util.component.AbstractLifeCycle:212
        FAILED org.eclipse.jetty.server.Server@58ceff1: MultiException[java.net.BindException: Address already in use: bind, java.net.BindException: Address already in use: bind]
MultiException[java.net.BindException: Address already in use: bind, java.net.BindException: Address already in use: bind]
        at org.eclipse.jetty.server.Server.doStart(Server.java:329)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at qz.ws.PrintSocketServer.runServer(Unknown Source)
        at qz.ws.PrintSocketServer.main(Unknown Source)
        Suppressed: java.net.BindException: Address already in use: bind
                at sun.nio.ch.Net.bind0(Native Method)
                at sun.nio.ch.Net.bind(Unknown Source)
                at sun.nio.ch.Net.bind(Unknown Source)
                at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
                at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
                at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
                at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
                at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
                at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
                at org.eclipse.jetty.server.Server.doStart(Server.java:366)
                ... 3 more
Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:366)
        ... 3 more
[DEBUG] 2016-03-18 21:30:24,768 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8182
[DEBUG] 2016-03-18 21:30:25,276 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8384
[DEBUG] 2016-03-18 21:30:25,307 @ qz.ws.SingleInstanceChecker:?
        Checking for a running instance of QZ Tray on port 8485
[INFO] 2016-03-18 21:30:25,336 @ qz.ws.PrintSocketServer:?
        Server started on port(s) 8283, 8282
[INFO] 2016-03-18 21:30:25,519 @ qz.auth.CRL:?
        Successfully loaded 1 CRL entries from https://crl.qz.io
[WARN] 2016-03-18 21:30:26,257 @ qz.ws.SingleInstanceChecker:?
        Connection closed, null
[WARN] 2016-03-18 21:30:26,261 @ qz.ws.SingleInstanceChecker:?
        QZ Tray is already running on localhost/127.0.0.1:8182
[WARN] 2016-03-18 21:30:26,353 @ qz.ws.PrintSocketServer:?
        The web socket server is no longer running

Tres Finocchiaro

unread,
Mar 18, 2016, 8:52:44 AM3/18/16
to gunasekaran sambandhan, qz-print
Gunasekaran,

Thanks for the detailed backtrace.  Unfortunately, this does not contain the HTML logs because you already had QZ Tray running per
   > QZ Tray is already running on localhost/127.0.0.1:8182

Can you close QZ Tray out completely and then try gathering these crash logs again please?

-Tres
Reply all
Reply to author
Forward
0 new messages