Why are there different contents for jdic.jar for the different platform releases. Wouldn't it be best to keep all differences in the native code?
Yes, the jar file (java code) differs by platform.
The reason is that the implementation uses JNI to access platform specific features. Though the common API is cross-platform, there are some platform dependent utility code, which we found can't be abstracted into cross-platform APIs.
wouldn't it still be simpler for distribution purposes to have one JAR file, though, containing even classes that aren't used?
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.