Is Java completely Platform Independent?

后端 未结 8 1612
鱼传尺愫
鱼传尺愫 2020-12-24 12:43

Is Java completely Platform Independent ?

if not then, what care needs to be taken to see that your code written in Java can run on Multi Platforms. Basically it sho

8条回答
  •  北海茫月
    2020-12-24 12:52

    Along with the above concerns, the main problem I had was actually building on different platforms, which may not be what your asking, but may be something to watch out for.

    OS X is especially guilty of this when using the Apple Distribution of Java (why anyone would want to put out their own packaging of Java I don't know but that is a separate argument, and on OSX i dont think you have a choice but to use their java). The Libraries that you may or may not be relying on are in completely different directories, eg libraries instead of lib if my memory serves me correctly. And the IBM java I think packages Classes in different Jars in some cases. Ridiculous!!

    Hope that helps.

提交回复
热议问题