jar文件无法在64位机器上运行 [英] jar file could not run in 64 bit machine

查看:166
本文介绍了jar文件无法在64位机器上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的大学项目开发​​了一个桌面应用程序。我使用32位的NetBean IDE 7.0.1在64位机器上开发,并且我有32位的JDK,项目完全从NetBean运行,但当我转换为 .jar 时它做了不工作,但相同的 .jar 文件在32位机器上工作。任何人都提前知道这个感谢。

i have developed a desktop application for my college project. I developed in 64 bit machine with NetBean IDE 7.0.1 of 32 bit and i have JDK of 32 bit, project runs perfectly form NetBean but when i converted into .jar it did not work, but same .jar file works in 32 bit machine. Anyone have idea about this thank in advance.

推荐答案

在正常情况下,您可以获取在64位计算机和/或64位JVM上开发的代码,并运行它在32位JVM上......反之亦然。无论您是否使用JAR,这都适用。

Under normal circumstances, you can take code developed on a 64 bit machine and / or a 64 bit JVM, and run it on a 32 bit JVM ... and vice versa. This applies whether or not you are using a JAR.

您遇到麻烦这一事实表明您做错了。但是,如果没有更多的信息,我们就会浪费时间来猜测可能是什么。 它不起作用还不够。 (这就像去看医生说我不太好并期望他在此基础上治愈你。)

The fact that you are having trouble says that you've done something wrong. However, without some more information, we'd be wasting our time speculating on what that might be. "It did not work" is not enough to go on. (It is like going to a doctor and saying, "I'm not well" and expecting him to cure you on that basis alone.)

这篇关于jar文件无法在64位机器上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆