如何判断jar是在64位还是32位系统上编译? [英] How can I tell if a jar was compiled on a 64bit or 32bit system?
本文介绍了如何判断jar是在64位还是32位系统上编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个jar但是我不知道它是64位系统还是32位系统的 .jar
。如何找到它?
I have a jar but I don't know if it is a .jar
for a 64bit system or for a 32bit system. How to find that out?
编辑:我的 .jar
具有本机库依赖。
My .jar
has native library dependency.
推荐答案
Java字节码是java字节码,无论是用32位还是64位JDK构建都无关紧要想一想。
Java bytecode is java bytecode, it doesn't matter whether it was built with a 32-bit or 64-bit JDK and there is no way to figure this out.
我认为使用32位或64位编译的jar没有任何区别。它应该与机器无关;除非您有一些本机库依赖项或者java代码直接编译为本机代码。
I think it does not make any difference to have a jar compiled with 32-bit or 64-bit. It should be machine-independent; unless you have some native library dependency or the java code is directly being compiled to native code.
这篇关于如何判断jar是在64位还是32位系统上编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文