Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何确保 JRE 在我的系统路径中?好吧,实际上,我知道这不是因为从命令行运行 java -jar 会产生 java is not recognize 错误。
如何将 JRE 放入我的系统路径?
您可以编辑您的PATH变量,例如。在 Windows 中(在控制面板\所有控制面板项\系统\高级系统设置\环境变量下
PATH
PATH=%PATH%;C:\Java6\jre\bin