Sun has a new JSR called Java Module System. The main purpose of this is to reduce the deployment problems and classpath hell. To overcome this they propose a new distribution format called Module and a repository of Java code and other resources.
The module will contain versioning information and the repository can hold multiple versions of the same module. The modules can expose part of itself as public API for other modules to use. The module will also hold the information about which versions of other modules it wants to reference.
Hmmm… Looks like Sun have again taken a page from Microsoft’s book. This sounds very similar to Microsoft’s Global Assembly Cache (GAC). Anyway it is not due till Java 7. Till then classpath hell will prevail.
Related posts:
- MS using Java for Vista RC1 downloads
- Eclipse Plugin: ATGForEclipse
- Eclipse Tip (from Javalobby): Managing Multiple Eclipse Installations
- Whats with Firefox and Java?
- JNode: A Java OS!