open ~/.zshrc and add
to the last line
followed by the first sentence is your JDK path
export JAVA_HOME=/usr/local/jdk1.8/jdk1.8.0_131
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=.:${JAVA_HOME}/bin:$PATH
p>
div>
Read More:
- JMeter installation and configuration environment variables
- Configuring common environment variables in Windows
- Use the Zsh plug-in ‘Zsh syntax highlighting’ to highlight your available Zsh commands
- [Solved] Source Zsh error: zsh problem: compinit:503: no such file or directory
- Bug001: error in gradle configuration environment variable: ERROR:JAVA_ Home is set to an invalid directory!
- Install Java runtime JRE in Ubuntu 16.04
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- Multi environment configuration of springboot under docker
- Howto Install and Configure VTK on Ubuntu
- Eclipse startup error: a Java runtime environment (JRE) or Java Development Kit (JDK) must be available
- Ubuntu network configuration+Fixing “Failed to bring up eth0” in Ubuntu
- Install And Configure Nagios on Ubuntu 14.04 LTS
- Java:Error:Open registry key software \ JavaSoft \ Java Runtime Environment Problems
- Vs2013 + glfw + glew configure OpenGL development environment
- Vs configure tensorrt environment to use
- Opencv2.4.9 + ffmpeg1.2.12 installation configuration and problem solution under Ubuntu 14.04
- Vs configuration of OpenGL development environment: configuration of glfw library and glad Library
- Configure OpenGL development environment (vs2015)
- Configure OpenGL development environment (glfw3 + glad) once and for all with visual studio
- Problem in configuring Maven error: Java_ HOME not found in your environment.