'Netstat' is not an internal or external command, nor a program or batch processing file that can be run-Solution

Source: Internet
Author: User

To create a project in the past two days, you must configure resin3.0.17 + apache2.0.58 + oracle92 + myeclipse4.0 + eclipse3.1. Since Oracle occupies several ports, when resin and Apache are installed on its own, the port is occupied by errors .. We will summarize some problems in the configuration process over the past two days. We hope that you will face fewer detours in the future .. Haha...

First, after encountering these problems, I want to know whether those programs occupy these windows, run "--" Run -- "cmd --" netstat-a-o "and find the following error:

'Netstat' is not an internal or external command, nor a program or batch processing file that can be run-Solution

I checked it online and later learned that it was my environment variable setting problem. C:/windows; C:/Windows/system32; In path should point to your installation directory. The solution is:

Right-click "my computer", select "environment variable" in the "advanced" window, and edit the PATH variable. When I open the PATH variable, it was found that the "," was not added when the environment variable was set during the last Oracle installation, which caused an error. You just need to change it .. I changed it to this:

% SystemRoot %/system32; % SystemRoot %/system32/WBEM; C:/java1.5/jdk1.5/bin;

The variables must be separated with each other .. This will solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.