Software Development

Software Development, software engineering , computer science

How to set up ORACLE_SID and ORACLE_HOME on ubuntu

1. step Open the .profile hidden file which is located in /yourname/home/.profile

2. step add the following lines to end of the .profile file

export ORACLE_HOME=Oracle/app/<strong>yourname</strong>/product/11.1.0/db_1/bin export ORACLE_SID=lnr

3. step save the changes , restart your computer

4. step you can check your environment variable

$ echo $ORACLE_SID $ echo $ORACLE_HOME

Path : Oracle/app/yourname/product/11.1.0/db_1/bin

UnsatisfiedLinkError exception loading native library: njni11

Installing Oracle 11g on Linux
[Oracle Net Services configuration failed.] $./netca Error message:
UnsatisfiedLinkError exception loading native library: njni11

java.lang.UnsatisfiedLinkError: jniGetOracleHome
at Method)
at Source)
at Source)
Oracle Net Services configuration failed. The exit code is -1

sudo apt-get install build-essential libaio1 gawk ksh

Multiple Inheritance

“Multiple Inheritance (object-oriented programming) was widely supposed to be very difficult to implement efficiently. For example, in a summary of C++ in his book on objective C Brd.Cox actually claimed that adding Multiple inheritance to C++ was impossible. Thus, multiple inheritance seemed more of a challenge. Since I had considered multiple inheritance as early as 1982 and found a simple and efficient implementation technique in 1984. I couldn’t resist the challenge. I suspect this to be the only case in which fashion affected the sequence of events.” —  Bjarne Stroustrup