Ubuntu _ "Bash:/home/user/Java/jdk1.7.0/bin/Java: insufficient Permissions"

Source: Internet
Author: User

Due to the slow speed at home, I copied JDK, eclipse, and Android sdks from the company to install them. As a result, JDK 1.7 was just installed,
User @ Yan :~ $ Java-version
Bash:/home/user/Java/jdk1.7.0/bin/Java: insufficient Permissions
What should we do if such a problem occurs? Ask Google, saying that we only need to upgrade Java to execute permissions, so we have the following processing result:
User @ Yan :~ $ Chmod + x/home/user/Java/jdk1.7.0/bin/Java
User @ Yan :~ $ Java-version
Java version "1.7.0"
Java (TM) se Runtime Environment (build 1.8.0)
Java hotspot (TM) server VM (build)
User @ Yan :~ $ Javac
Bash:/home/user/Java/jdk1.7.0/bin/javac: insufficient Permissions
If the above problem occurs again, you can handle it again.
User @ yanshi :~ $ Chmod + x/home/user/Java/jdk1.7.0/bin/javac
User @ yanshi :~ $ Javac
Usage: javac <Options> <source files>
This is quite simple. It's done, oh

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.