My Oracle Support Banner

Java Process on Windows 10 Creator Exits with "The Java child process terminated unexpectedly: status -1073741502" (Doc ID 2277818.1)

Last updated on JANUARY 20, 2023

Applies to:

Java SE JDK and JRE - Version 7 to 8
Microsoft Windows x64 (64-bit)


On Windows 10 Creator, a Java SE application may fail with this message:

Status -1073741502 is a Windows Exit Code equivalent to the hex code 0xC0000142 and indicates a DLL initialization failure, STATUS_DLL_INIT_FAILED.

This can occur with either Java SE 7 or Java SE 8.  In one particular case, the JVM is launched from a native application using the Java Native Interface (JNI).  Shortly after its creation, it attaches another thread through JNI and promptly terminates with the above Windows message.

The application works well on other versions of Windows, including Windows 10 Anniversary version, but fails on the Windows 10 Creator version. 

Similar behavior has often been reported to be effected when:

 However, neither of these are necessarily required to encounter the issue.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.