Women in Technology

Hear us Roar

  10 Reasons We Need Java 3.0
Subject:   Most important, but perhaps not Java 3
Date:   2002-08-06 10:31:27
From:   mockturtleneck
The class loader conversation begins to touch upon this, but commercial java apps all package and deliver every jar they use to avoid inconsistencies with existing jars in the classpath.
That is rediculous. We need a 'registry' of jars and versioning information available to the runtime (especially the installers).
Don't beleive me? Search your hard drive for Xerces.jar ... I have seven and I've never downloaded the Apache package!
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Most important, but perhaps not Java 3
    2004-01-07 15:01:24  anonymous2 [View]

    I can't agree with your suggestion. Every application should come with its own set of libraries. This guarantees that updating application A has no impact on application B. How many *different* Xerces.jar version have you got on your system?? I guest more than two at least! Personally I prefer wasting some KB rather than running into something, windows programmers/users call "DLL hell".
    • Most important, but perhaps not Java 3
      2005-01-17 01:43:25  anotherdeveloper [View]

      I couldn't agree more with your suggestion. Java needs a jar registry in the same way .Net has one.

      I would like to be able to say that classes from jar A depend on classes from version x.x of Jar B. So I can distribute different (even incompatible) version of the same jars and have classes loaded from them 'side by side'. This would solve the incompatibilities in versions in 'libraries' like Xerces plus any project that wants to be anything other that monolithic needs a mechanism that lets you update at a level lower than 'application'. It would enable this too.

      Of course I could write an application that uses custom classloaders but that not what I want to be doing and this will only make my project longer.

      For once Microsoft got this right. Sun should sort this as a matter of some urgency.