在系统环境的路径变量中设置 JAVA 后,我是否需要重新启动系统?
我做了以下步骤,但Java似乎不适合我,如果是,我是否需要重新启动系统,那么为什么?
1. Right click My Computer->Advence Option->Environment Varibles->System Variables
2. variable : Path->Edit
3. Copy your jdk bin directory i.e.C:\Program Files\Java\jdk1.7.0_51\bin
4. Paste it after putting a semi-colon(;) in value section
我在cmd中运行java时遇到以下错误
C:\Users\User>java -version
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.