Skip to main content

jdic.jar contents differ by platform?

2 replies [Last post]
chas
Offline
Joined: 2004-06-23

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?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
georgez
Offline
Joined: 2003-08-19

Hi Chas,

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.

Thanks,
-George Zhang.

elliotth
Offline
Joined: 2003-06-11

wouldn't it still be simpler for distribution purposes to have one JAR file, though, containing even classes that aren't used?