JAVA_HOME = 安装路径
path中加入%JAVA_HOME%\bin;
win ME有什么不同?

解决方案 »

  1.   

    Microsoft Windows ME - To set the PATH permanently: (copied from java.sun.com)From the start menu, choose programs, accessories, system tools, and system information. This brings up a window titled "Microsoft Help and Support". From here, choose the tools menu, then select the system configuration utility. Click the environment tab, select PATH and press the edit button. Now add the SDK to your path as described in step a below. After you've added the location of the SDK to your PATH, save the changes and reboot your machine when prompted. a.Look for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH. For example, in the following PATH statement, we have added the bin directory at the right end: PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.2_<version>\BIN Capitalization doesn't matter. The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows searches for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.2_<version>.