Java Cup
Inside Java

News and views from members of the Java team at Oracle

Module Imports in Java 23 Inside Java Newscast #69

To reduce the overhead of using APIs, particularly in single source files, Java 23 previews module import declarations of the form import module $moduleName, which import all packages exported by the named module.

Show Notes

Star imports:

Module import details:

Additional Resources

The "Inside Java Newscast" is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.