从您链接到的甲骨文文档 :
我如何选择 32 和 64 位之间的操作? 默认值是什么?
The options -d32 and -d64 have been added to the Java launcher to specify whether the program is to be run in a 32 or 64-bit environment. On Solaris these correspond to the ILP32 and LP64 data models, respectively. Since Solaris has both a 32 and 64-bit J2SE implementation contained within the same installation of Java, you can specify either version. If neither -d32 nor -d64 is specified, the default is to run in a 32-bit environment.
Other Java commands (javac, javadoc, etc.) will rarely need to be executed in a 64-bit environment. However, the -d32/-d64 options may be passed to these commands and then on to the Java launcher using the established -J prefix option (eg: -J-d64).
All other platforms (Windows and Linux) contain separate 32 and 64-bit installation packages. If both packages are installed on a system, you select one or the other by adding the appropriate "bin" directory to your path. For consistency, the Java implementations on Linux accept the -d64 option.
(强调地雷)
因此,根据您链接的文档,默认值是在32位 JRE中运行,并且可以通过 -J-d64
而不是简单的-d64
来运行64位 JRE中的 javac。
然而,请注意,该文件也说,它适用于爪哇1.4, 并说“对最近版本的爪哇一无所有它们>。