[英]How to forcefully run a Jar file using 32-bit JVM when both 32-bit and 64-bit JVM are installed?
安装了 32 位和 64 位 JVM 时,如何使用 32 位 JVM 强制运行 Jar 文件?
尝试使用launchj4,您可以将 jar 包装到一个 exe 文件中并指定您要使用的 JRE 并强制它搜索 32 位 JVM,设置最小和最大版本等...包装器将自动搜索已安装的 JRE 并选择一个符合要求。
Find the java.exe in "C:\\Program Files (x86)" and write a cmd-file with one line:在“C:\\Program Files (x86)”中找到 java.exe 并用一行写一个 cmd 文件:
"C:\Program Files (x86)\javasomething\java.exe" -jar "Your 32-Bit-File.jar"
Save it as doitso.cmd and doubleclick it.将其另存为 doitso.cmd 并双击它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.