Answers for "environment variables for java"

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
0

gat environment variables java

String environmentVariable = System.getEnv("environment_variable_name"); 
//You can create environment variables on your computer manually
//and then you must put the environment variable in the parantheses as a String
Posted by: Guest on March-12-2020

Code answers related to "environment variables for java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language