Open source software supply chain lighting plan, waiting for you>>>
/bin/bash: jar: command not found
Solution:
cd /usr/bin
You must enter/usr/bin first, the same below
sudo ln -s -f /usr/lib/jvm/jdk1.6.0_30/bin/jar
My JDK is installed in/usr/lib/JVM/jdk1.6.0_ 30/under the directory
If javah: common not found is prompted, follow the example and enter the command
cd /usr/bin
ln -s -f /usr/lib/jvm/jdk1.6.0_30/bin/javah
This article is shared in the blog “Zhou Xiaodong” (CSDN).
Similar Posts:
- macos -bash: yarn: command not found/-bash: cnpm: command not found
- [618]basic_consume() got multiple values for keyword argument ‘queue’
- [733]TabError: inconsistent use of tabs and spaces in indentation
- After installing node on MAC, enter node – V to prompt node command not found
- git bash bash: *: command not found
- [791] Maven configuration error and the Java_ The solution of home environment variable is not defined correctly
- bash :startx command not found
- Super detail: command not found: the scratch solution (add the scratch environment variable to Zsh under MAC)
- “bash: jps: command not found”
- Solve the problem of ADB: command not found on MAC