The Best How To Get The Value Of Java_Home References. Echo $java_home if nothing appears then set it with this: Click on the environment variables button.

In the variable name field, enter either: Select the new button under system variables. Radix − this would be used to decide the value of returned integer based on the passed string.