Java 错误:CreateProcess 错误=216,此版本的 %1
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39635044/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error:CreateProcess error=216, This version of %1
提问by rocksnyder12
ERROR MESSAGE:
错误信息:
Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
错误:CreateProcess 错误=216,此版本的 %1 与您运行的 Windows 版本不兼容。检查您计算机的系统信息以了解您是否需要 x86(32 位)或 x64(64 位)版本的程序,然后与软件发行商联系。
Fellow overflowers I hope you can help me with this issue in Windows 7 x86
我希望你能在 Windows 7 x86 中帮助我解决这个问题
回答by Frantzky Fatal
You have to change the jdk location in project structure
您必须更改项目结构中的 jdk 位置
Follow those steps
按照这些步骤
Go to file -> project structure -> sdk location
去 file -> project structure -> sdk location
Unselect Use embedded jdk(recommended)
取消选择 Use embedded jdk(recommended)
Then Change the jdk location to C)Program Files/java/jdk1.x.x_xxx
然后将jdk位置更改为 C)Program Files/java/jdk1.x.x_xxx
Where x
is dependent on the JDK version you have installed locally.
在哪里x
取决于您在本地安装的 JDK 版本。