Answers for "how to add java to path"

4

how to set path for java in windows 10

To set the temporary path of JDK, you need to follow the following steps:

Open the command prompt
Copy the path of the JDK/bin directory
Write in command prompt: set path=copied_path
For Example:
set path=C:\Program Files\Java\jdk1.6.0_23\bin
Posted by: Guest on September-06-2021
2

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
Posted by: Guest on July-22-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language