How to set Java Path in Mac OS?

Java Programming Java8Object Oriented ProgrammingJava Technologies

Environment variable PATH should be set to point to where the Java binaries have been installed. Refer to your shell documentation if you have trouble doing this.

Example, if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export PATH=/path/to/java:$PATH'

Published on 19-Jan-2018 12:36:34