' Java ' is not an internal or external command, another workaround

Source: Internet
Author: User

I know about environment variables, and I know about system variables.
Don't stick those tutorials on me, my Java journey is C:\Program files\java\jdk1.6.0_05
Who's got it? Send the three variables and values ....

Java_home=c:\program files\java\jdk1.6.0_05
Classpath=c:\program Files\java\jdk1.6.0_05\lb\tools.jar

Set a cmd and run Java.

-------------------------------------------------------------------------------

If the above or not, there is a problem is Win8, right-click an administrator to run the software, about this please see the following file

When UAC is enabled, when you double-click the installer for a software, you will start with standard permissions to run the installer and begin the installation process. If administrator rights are required during installation, the elevation action of UAC is triggered, requiring the user to confirm whether to continue (if the user is logged on as an administrator account), or to require the user to enter the password for the administrator user (if the user is logged on as a standard account).

However, due to design flaws or other reasons, some programs may encounter a failure to trigger a UAC elevation mechanism due to insufficient permissions because of a lack of permission to run with standard privileges but require administrator privileges. In this case, you need to right-click and select "
Run as administrator ", run this program with administrator privileges at the outset.

In fact, after the direct double-click execution, the UAC trigger action may also have been performed, after the elevation of UAC, the actual effect and the first choice of "Run as Administrator" is the same, so that the program can be installed properly.

If the direct double-click execution, not the UAC trigger, and the software also shows that the normal installation has not reported any error message, then the software installation process does not require administrator rights, you can rest assured that use.

' Java ' is not an internal or external command, another workaround

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.