`
rrsy23
  • 浏览: 182777 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

java如何跨平台

阅读更多
<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>

假设A公司(中国)的老板,做B公司的外包项目(美国),C公司的外包项目(日本)! 需要合作!

由于语言问题,不能交流那A老板怎么办:很简单请2个翻译把:同样的话用不同的翻译人员翻译为不同国家的语言这样B,C就可以理解了!

那么JAVA是如何跨平台的,显然类似:

Figure showing source code, compiler, and Java VM's for Win32, Solaris OS/Linux, and Mac OS

在不同平台JAVA都提供各自JVM,这样就可以将相同的.class字节码通过不同的JVM转换为不同平台的机器指令了,也就完成跨平台了!

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics