Wednesday, October 30, 2013

Identity Management 11G Rel 2: RCU

Repository Creation Utility

Running the Repository Creation Utility (RCU) for Linux is troublesome for some reasons.
One of the reasons is it is 32-bits software, whereas the Linux platforms now are predominantly 64 bits.
The other is java...

Running it off my Ubuntu LTS host, using
linux32 ./bin/rcu"
resulted in the following error:
frank@ubuntu64:~/Downloads/rcuHome$ linux32 ./bin/rcu ./bin/rcu: 276: ./bin/rcu: /home/frank/Downloads/rcuHome/jdk/jre/bin/java: not found
Java is actually installed:
frank@ubuntu64:~/Downloads/rcuHome$ which java /usr/bin/java
The line 276 is OK; it contains $JRE_DIR - it is the definition of this variable that is wrong (at line 133). Just change
JRE_DIR=$ORACLE_HOME/jdk/jre
into
JRE_DIR=/usr
Then change permissions (if needed), and rerun.
Happy RCU-ing!

No comments: