QZ Tray Error: Unable to start JavaFX

181 views
Skip to first unread message

AJDR (Arricjanzee Duran)

unread,
Apr 14, 2021, 2:54:59 AM4/14/21
to sup...@qz.io, qz-p...@googlegroups.com

Hi,

 

I am Arric Duran from NNIT. We’re trying out your software to implement silent printing of our HTML. I was able to install OpenJDK 11 and QZ Tray v2.1.2 on my machine (windows 10) and am able to print silently. We think QZ Tray is quite promising and we’re planning to purchase a license soon. However, I keep getting the error below on our test machine (windows 7). I installed the same version of OpenJDK and QZ Tray. I can’t figure out what’s causing this issue. I’m guessing this is because of compatibility issues. It’s important that we determine the right OpenJDK and QZ tray versions to install as we’ll most likely install QZ tray on machines with old operating system. May I ask for your assistance regarding this?

 

Thank you very much.

 

 

 

Regards,

Arric Duran

This e-mail (including any attachments) is intended for the addressee(s) stated above only and may contain confidential information protected by law. You are hereby notified that any unauthorized reading, disclosure, copying or distribution of this e-mail or use of information contained herein is strictly prohibited and may violate rights to proprietary information. If you are not an intended recipient, please return this e-mail to the sender and delete it immediately hereafter. Thank you.

Lite Finocchiaro

unread,
Apr 14, 2021, 9:28:00 AM4/14/21
to AJDR (Arricjanzee Duran), sup...@qz.io, qz-p...@googlegroups.com
Arric:

This is probably due to a 32-bit version of Windows 7, which is not supported.

Regards,

Lite Finocchiaro
VP, QZ Industries

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/DB8PR10MB37069514413E7F286D0C49BAB54E9%40DB8PR10MB3706.EURPRD10.PROD.OUTLOOK.COM.

AJDR (Arricjanzee Duran)

unread,
Apr 14, 2021, 9:41:58 AM4/14/21
to Lite Finocchiaro, sup...@qz.io, qz-p...@googlegroups.com

Hello,

 

Thank you for the response. The OS is indeed windows 7 32-bit version. That is unfortunate. May I ask what windows OS are supported? Thank you very much.

 

Regards,

Arric

Lite Finocchiaro

unread,
Apr 14, 2021, 10:33:52 AM4/14/21
to AJDR (Arricjanzee Duran), support, qz-print
Arric:

Any 64-bit version of Windows 7+ is supported. Some installations of Windows 7 32-bit can be upgraded to 64-bit as well. This will depend on the hardware, of course.

Kind regards,

Lite
image002.png

Tres Finocchiaro

unread,
Apr 14, 2021, 12:13:17 PM4/14/21
to Lite Finocchiaro, AJDR (Arricjanzee Duran), support, qz-print
As a stop-gap, you may install Oracle Java 8 32-bit which includes JavaFX, however as Lite has indicated, this is unsupported.  Specifically, you may run out of memory with certain operations.  We have a workaround for this, however Oracle's licensing has changed and as a result Oracle Java 8 is no longer free for commercial use, only personal use, but it is known to work.



Tres Finocchiaro

unread,
Apr 14, 2021, 12:22:27 PM4/14/21
to Lite Finocchiaro, AJDR (Arricjanzee Duran), support, qz-print
Hmm... it turns out Gluon now offers a 32-bit Windows binary for JavaFX 16.

This means another viable option is to download Gluon's JavaFX 32-bit and place the dll's into C:\Program Files\QZ Tray\libs.

Unfortunately this will still crash unless you disable Monocle rendering:
  • Advanced, Diagnostic, (Uncheck) Use Monocle for HTML
  • Restart QZ Tray
Note, this is all untested and unsupported.  Since we bundle OpenJFX 15-ea with Monocle bindings, 16 may not be a drop-in replacement.

If you would like to create your own 32-bit installers, you may do so by modifying the project.properties and recompiling:


I realize this is non-ideal.  We also have a new branch called "jlink" which will bundle both the JavaFX and Java Runtime with QZ Tray.  It's experimental, but proving promising, and may be viable if you have a Java developer available to compile this for your users:

AJDR (Arricjanzee Duran)

unread,
Apr 15, 2021, 1:27:24 AM4/15/21
to Tres Finocchiaro, Lite Finocchiaro, support, qz-print

Hi,

 

Thank you very much for these workarounds. We’ll try your suggestions and see if any works. Thank you.

 

Regards,

Arric

Regards,

Arric Duran

This e-mail (including any attachments) is intended for the addressee(s) stated above only and may contain confidential information protected by law. You are hereby notified that any unauthorized reading, disclosure, copying or distribution of this e-mail or use of information contained herein is strictly prohibited and may violate rights to proprietary information. If you are not an intended recipient, please return this e-mail to the sender and delete it immediately hereafter. Thank you.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/DB8PR10MB37069514413E7F286D0C49BAB54E9%40DB8PR10MB3706.EURPRD10.PROD.OUTLOOK.COM.

Reply all
Reply to author
Forward
0 new messages