Java Environment Variable Setup Linux, UNIX, Solaris, FreeBSD
Set Java Environment Variable Setup On Linux, UNIX, Solaris, FreeBSD
Refer to your shell documentation, if you have trouble doing this.
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’
- How to set environment variable in Linux, UNIX, Solaris, FreeBSD?