Is it possible to compile java using Oracle JDK and run the code on OpenJDK?

前端 未结 4 1700
春和景丽
春和景丽 2021-02-14 00:41

So is it possible to do all the development of a Java daemon (Apache Daemon) on a Windows 7 machine, then install the service on Ubuntu server (still have to search how to do th

4条回答
  •  耶瑟儿~
    2021-02-14 00:57

    Java byte code is portable and can be executed using any JVM that has same or newer version.

提交回复
热议问题