Solution - BASH: /HOME/JAVA/JDK1.8.0_221/BIN/JAVA: Insufficient permissions

Solution - BASH: /HOME/JAVA/JDK1.8.0_221/BIN/JAVA: Insufficient permissions

1) Enter the folder path where the jdk file is stored

I am here usr/local/jdk/

2) Enter the command chmod 777 jdk1.8.0_221/bin/java to modify the permissions

3) Enter java -version again and it will work


Summarize

The above is the solution that the editor introduced to you - BASH: /HOME/JAVA/JDK1.8.0_221/BIN/JAVA: Insufficient permissions. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • Solve the problem of bash:/root/.bashrc:Permission denied

<<:  Solve the error of starting MongoDB: error while loading shared libraries: libstdc++.so.6:cannot open shared object file:

>>:  Detailed explanation of the life cycle of Angular components (Part 2)

Recommend

Detailed explanation of MySQL information_schema database

1. Overview The information_schema database is th...

React diff algorithm source code analysis

Table of contents Single Node Diff reconcileSingl...

Detailed explanation of the simple use of MySQL query cache

Table of contents 1. Implementation process of qu...

Introduction to HTML link anchor tags and their role in SEO

The <a> tag is mainly used to define links ...

Database SQL statement optimization

Why optimize: With the launch of the actual proje...

Deep understanding of JavaScript syntax and code structure

Table of contents Overview Functionality and read...

Kill a bunch of MySQL databases with just a shell script like this (recommended)

I was woken up by a phone call early in the morni...

Detailed explanation of XML syntax

1. Documentation Rules 1. Case sensitive. 2. The a...

Why does MySQL database index choose to use B+ tree?

Before further analyzing why MySQL database index...

WeChat applet realizes linkage menu

Recently, in order to realize the course design, ...

Linux Check the installation location of the software simple method

1. Check the software installation path: There is...

Install Percona Server+MySQL on CentOS 7

1. Environmental Description (1) CentOS-7-x86_64,...

WeChat applet to save albums and pictures to albums

I am currently developing a video and tool app, s...

Mysql master-slave synchronization configuration scheme under Centos7 system

Preface Recently, when working on a high-availabi...

Analysis of Mysql transaction characteristics and level principles

1. What is a transaction? A database transaction ...