JRE on Android

后端 未结 2 1917
滥情空心
滥情空心 2020-12-15 02:55

This might sound like a stupid question, but google didn\'t help me.

Is there a JRE available for Android? If so which version is it? Are there any major features m

2条回答
  •  一向
    一向 (楼主)
    2020-12-15 03:31

    No, there is not. Google did create a completely different runtime for Android, where the base classes are completely different ( albeit compatible )

    It uses Java as the language ( syntax ) but not the Java platform.

    You can learn about the Android platform here.

    From that page:

    Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java programming language.

    Read in bold "most".

    So, although they look similar, they are not the same.

提交回复
热议问题