Java on MacOSX Fails to Print PDF from Browser with Message "Cocoa AWT: Not running on AppKit thread 0 when expected." (Doc ID 2247946.1)

Last updated on MARCH 26, 2017

Applies to:

Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.

Symptoms

Java on MacOSX fails to print PDF file from the browser and emits the following assertion:



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms