vic*_*ico 3 java windows environment-variables command-prompt
我的Windows 8命令提示符不再显示java.我发现在C:\ProgramData\Oracle\Java\javapath找到错误的符号链接时我无法改变.当我尝试改变时,我得到了错误:
Problem with Shortcut
The name 'C:\Program Files\Java\jre1.8.0_45\bin\javaw.exe' specified in the Target box is not valid. Make sure the path and file name are correct.
Run Code Online (Sandbox Code Playgroud)
当我尝试创建快捷方式时,我有消息:
Windows can't create a shortcut here.
Do you want the shortcut to be placed on the desktop instead?
[Yes] [No]
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题呢?
Gee*_*eek 17
以下是解决此问题的方法:
小智 5
如果在命令提示符下使用Java,则还需要设置正确的JAVA_HOME变量。一些工具依赖于此。
为此,请编辑系统环境变量:
| 归档时间: |
|
| 查看次数: |
11901 次 |
| 最近记录: |