Platform establishment

zhaozj2021-02-16  51

First download the J2SE1.4 version, and the most critical problem after installation is set on the PATH and CLASSPATH. If you are on the Win2k, modify the PATH variable in the environment variable in my computer's advanced option, add the installation directory to the path, pay attention to the system according to the order of the PATH to find the executable, so if If you have already installed other Java platforms, you should pay attention. You can use java -verbose to see the current Java is loaded under that directory. Second, it is the set of classpath. This variable is used to set the load file path of the system search program. It should be noted that the system will only find the path specified by this variable, not to find the current path, if you want to find the current path To set classpath = x: / myclass ;. Add a point to the current directory, restart the computer, check the value of the PATH and ClassPath variables with the set command under the DOS window to see if it is correct. As for setting variables, you can also set up with the set command under the DOS window, but will only be valid for the current DOS window. To set up all programs. When setting these two variables, you should pay attention to space problem, Java is not allowed to have spaces in the path, even in Windows, and = 号 左 左 左 留 留 格 格The platform is established.

转载请注明原文地址:https://www.9cbs.com/read-21593.html

New Post(0)