64位32位 java 浏览器,所有的Java小程序可以在64位JRE启用浏览器中运行?

博客讨论了Java Applet在64位系统上无法运行的问题,指出问题不在于源代码的32位或64位属性,而在于JVM的版本。只要Applet仅包含Java代码且无本地库,它应当能在32位和64位JVM上正常运行。解决方案聚焦于确保使用正确的JVM版本。
摘要由CSDN通过智能技术生成

I have a java applet, which doesn't run on 64bit systems (browsers & OS are 64Bit) but works perfectly fine on 32bit Client systems. Why the applet fails to execute on 64Bit client system ?

解决方案

There is no such thing as 32-bit Java applet.

Java sources are compiled into byte code which does not have a "property" of 32 bit or 64 bit. Only the JVM has variants of 32 bit or 64 bit.

So as long as your applet only contains Java code (and no native libraries), it should run on both 32 bit and 64 bit JVM's no matter what you used to compile your sources.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值