Configuration on the Java operating environment

xiaoxiao2021-03-06  59

After the J2SDK is installed, you need to configure the environment variables to generally configure 2 variables: java_home, ClassPath, if the J2SDK is installed in the C: / J2SDK directory, then: java_home = c: / j2sdkclasspath =.;% Java_home% / liba In the JDK version, ClassPath is a classpath =.;% Java_home% / lib / Tools.jar;% java_home% / lib / dt.jar seems to be from a version of J2SDK1.4, Just configure it to the directory.

In addition, you can add% java_home% / bin in the path, so you can run Javac to compile Java programs directly in the command line.

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

New Post(0)