Java Applications That Import "sun" Packages May Get "Package or Class Not Found" Type of Errors (Doc ID 1470800.1)

Last updated on AUGUST 03, 2017

Applies to:

Java Platform, Standard Edition - Version 1.3.1 and later
Information in this document applies to any platform.

Symptoms

Use of "sun" JDK packages in a Java application can lead to "package (or class) not found" type of errors. For example, the package is imported:

Changes

 The problem can be triggered by:

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