My Oracle Support Banner

[Java SE] JavaFX Application Throws "java.lang.NoClassDefFoundError: javafx/application/Application" on Java SE 11 (Doc ID 2488336.1)

Last updated on NOVEMBER 12, 2023

Applies to:

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

Symptoms

A JavaFX application running with Java SE 11 throws the below error at startup:

Changes

JavaFX is not included in the Java SE 11. Refer to Significant Changes in JDK11 Release.

Cause

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
Symptoms
Changes
Cause
Solution


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