Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Install4j 如何在自定义代码或API中检查32位或64位_Install4j - Fatal编程技术网

Install4j 如何在自定义代码或API中检查32位或64位

Install4j 如何在自定义代码或API中检查32位或64位,install4j,Install4j,如何在Install4j API(自定义代码)中检查32位或64位?若要检查安装程序是在32位还是64位Windows上运行,请使用 Util.is64BitWindows() 在install4japi中。无论是在32位还是64位安装程序中调用,它都可以工作。要检查当前JVM是32位还是64位JVM,请参阅谢谢。可以检查jsut 32位JVM或64位JVM。这取决于JVM。我想检查真正的操作系统架构。虽然我的操作系统架构是64位machane,但它在32位JVM上显示32位。@heesuki

如何在Install4j API(自定义代码)中检查32位或64位?若要检查安装程序是在32位还是64位Windows上运行,请使用

Util.is64BitWindows()

在install4japi中。无论是在32位还是64位安装程序中调用,它都可以工作。要检查当前JVM是32位还是64位JVM,请参阅

谢谢。可以检查jsut 32位JVM或64位JVM。这取决于JVM。我想检查真正的操作系统架构。虽然我的操作系统架构是64位machane,但它在32位JVM上显示32位。@heesukim否,
Util.is64BitWindows()
检查操作系统架构,而不是JVM。您真的在64位Windows上获得了
false