set java home path
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
# Add JAVA bin directory to the PATH variable
export PATH=$PATH:$JAVA_HOME/bin
set java home path
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
# Add JAVA bin directory to the PATH variable
export PATH=$PATH:$JAVA_HOME/bin
java_home what is
Optional.
The JAVA_HOME environment variable points to the file system location where
the JDK (Usually only JDK not JRE) installed.
Avoid using it. Prefer to have your java in PATH or managed by something like JVMS
setting java home
1. Add a JAVA_HOME variable equal to something like: C:\Java\JDK1.7.0_25_x64
2. Add %JAVA_HOME%\bin to the beginning of your PATH variable.
find where JAVA_HOME is set
grep JAVA_HOME /etc/environment /etc/bash.bashrc /etc/profile.d/* /etc/profile
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us