How to run Repository Creation Utility (RCU) on 64-bit Linux
- by Kevin Smith
I was setting up WebCenter Content (WCC) on a new virtual box running 64-bit Linux and ran into a problem when I tried to run the Repository Creation Utility (RCU). I saw this error when trying to start RCU
.../rcuHome/jdk/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
I think I remember running into this before and reading something about RCU only being supported on 32-bit Linux. I decided to try and see if I could get it to run on 64-bit Linux.
I saw it was using it's own copy of java (.../rcuHome/jdk/jre/bin/java), so I decided to try and get it to use the 64-bit JRockit I had already installed. I edited the rcu script in rcuHome/bin and replaced
JRE_DIR=$ORACLE_HOME/jdk/jre
with
JRE_DIR=/apps/java/jrockit-jdk1.6.0_29-R28.2.2-4.1.0
Sure enough that fixed it. I was able to run RCU and create the WCC schema.