Java Applications That Import "sun" Packages May Get "Package or Class Not Found" Type of Errors
(Doc ID 1470800.1)
Last updated on NOVEMBER 15, 2020
Applies to:Java Platform, Standard Edition - Version 1.3.1 and later
Information in this document applies to any platform.
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:
The problem can be triggered by:
- Porting a Java application to a different platform
- Upgrading the Java version or even updating to a new patch level
- Adding a new component which imports a "sun" package
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