The setting of environment variables during the Java development process. During studying Java, we often have to get around the environmental variable, I am also an exception, in order to understand the mystery, I have worked hard, but the result is still People are happy, for example, when I start, the environment variable is not set, and the problem is, and when I put JBoss-3.0.8_tomcat-4.1.24 as a server software, this problem is particularly highlighted, when I click Run.bat When the results were as follows: This gave me a lot of inspiration to some extent, I started to set up the name of Java_home, J2ME_HOME, MIDP_HOME to make the environment variable name, and ClassPath, not only the PATH. . However, in the process of I often pay attention to 9CBS, Java Forum, Java resources, I found that there were still many friends who were troubled by it, so I was written in detail, I hope that my master is sorted by one or two, I am grateful. I am setting this, it turns out that in my future study, I have not encountered by environmental variables. Open "My Computer" - "Properties" ----- "Advanced" - "Environment Variable", create the following in your own environment variable: 1. Variable name: Class_path variable: D: /javadev/midp2.0fcs/classes; 2. Variable name: J2ME_HOME Variable value: D: / Javadev / WTK22 / 3. Variable Name: J2meClassPath Variable value: D: /javadev/midp2.0fcs/classes; 4. Variable Name: Java_Home Variable: D: /javadev/J2SDK1.4.2_05/5. Variable Name: LIB Variable:% PATH% .; D: / LIB; D : / Javadev / j2me_cldc / lib; /javadev/midp2.0fcs/lib; 6. Variable name: MIDP_HOME Variable value: D: /javadev/midp2.0fcs/7. Variable Name: Path Variable:% PATH%. D: / javadev/J2SDK1.4.2_05bin; d: / javadev / j2me_CLDC / BIN / WIN32; D: javadev / midp2.0fcs / bin; d: / javadev / wtk22 / bin; ok, this will be changed later, illustration As follows: Just this, I have made research, it is estimated that there will be no problem. Friends can try it, if there is any problem, you can inspire my interest, please send me an email: GAOYUANXUE118@yahoo.com.cn, by the way. OK! (By the way, I mentioned some friends named CZYLZ (wind) in a post in the 9CBS Forum, where the work has been processed, and the Java corresponding software installation directory must be modified .)