My Oracle Support Banner

Can the Sample and Demo Directories be Removed from JDK 1.8 (Doc ID 2950038.1)

Last updated on MAY 18, 2023

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


In JDK 8, Java installs samples in the JDK /samples directory. Since WebLogic needs the JDK, is it possible to delete the Demos and Samples included in the JDK?

What Oracle JDK version should be used for WebLogic 14.1.1 which does not have the /samples directory.


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.