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

Quickly get started with VUE 3 teleport components and usage syntax

Table of contents 1. Introduction to teleport 1.1...

Detailed explanation of how to copy and backup docker container data

Here we take the Jenkins container as an example ...

Use HTML and CSS to create your own warm man "Dabai"

The final result is like this, isn’t it cute… PS:...

MySQL 5.7.20 compressed version download and installation simple tutorial

1. Download address: http://dev.mysql.com/downloa...

Background image cache under IE6

CSS background image flickering bug in IE6 (backg...

Implement MySQL read-write separation and load balancing based on OneProxy

Introduction Part 1: Written at the beginning One...

Detailed explanation of the available environment variables in Docker Compose

Several parts of Compose deal with environment va...

Use tomcat to set shared lib to share the same jar

As more and more projects are deployed, more and ...

Web Design Principles of Hyperlinks

<br />Related articles: 9 practical tips for...

Detailed explanation of using MySQL where

Table of contents 1. Introduction 2. Main text 2....

js realizes a gradually increasing digital animation

Table of contents background Achieve a similar ef...

How to redirect URL using nginx rewrite

I often need to change nginx configuration at wor...

Share a Markdown editor based on Ace

I think editors are divided into two categories, ...

Index in MySQL

Preface Let's get straight to the point. The ...