本人初学者,最近在看Java疯狂讲义时里面说jdk1.5以后就不用配置classpath环境变量,配了有时反而会出现错误?这是为什么 ?
大家讲道理2017-04-18 09:42:37
He is talking about Windows. Linux still needs to be configured. The reason why windows does not need to be configured is because it uses the registry, so it is not necessary. However, some third-party Java applications still require environment variables, so it is best to configure them too
ringa_lee2017-04-18 09:42:37
If an error occurs during configuration, it is most likely that you configured it incorrectly. I remember that higher versions of jdk will configure environment variables by themselves. I am used to checking whether the environment variables are correct after installing jdk. In fact, you can know just by testing it on the command line
迷茫2017-04-18 09:42:37
There seems to be no reason ^^, the Oracle official website no longer mentions manual configurationclasspath
in the installation instructions section
Then you probably don’t have to worry about it, haha
高洛峰2017-04-18 09:42:37
I didn’t do it before, but now I do it, there’s nothing strange about it. Isn’t it good that I did it for you?