PATH can be ORACLE_HOME, JAVA_HOME, CATALINA_HOME ,etc but steps to set will be same.
There are three types file you will encounter when working on Linux,Solaris & Mac-OS.
if you find this information useful, please comment.
There are three types file you will encounter when working on Linux,Solaris & Mac-OS.
- .bash_profile --linux
- .profile --Solaris
- .bashrc
For setting the path variable in Linux/Solaris follow the steps as below
- Go to the home directory or go by typing cd , then press enter .
- Here I am using ORACLE_HOME just for the demonstration , you can set any path like this.
- Open the profile, for example : vi .bash_profile
- Write
- ORACLE_HOME=/usr/lib/oracle/11.2/client64
- export ORACLE_HOME
- Save it .
- Execute it
- . ~/.bash_profile
Check the Oracle Home by echo $ORACLE_HOME
For more demonstration on how to install Java on Linux . Please see my post on how to install java on Linux.
if you find this information useful, please comment.
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeletePython Training in electronic city
DataScience with Python Training in electronic city
AWS Training in electronic city
Big Data Hadoop Training in electronic city
Devops Training in electronic city
blockchain Training in electronic city
Hibernate Training in electronic city