To rename a package:
This updates all import statements of any affected compilation units and all fully qualified references to types declared in the renamed package.
Java projects
Refactoring support
Opening a package
Moving folders, packages, and files
Creating a new Java package
Package Explorer
Refactoring actions
Refactoring dialog
Java preferences