How to run Repository Creation Utility (RCU) on 64-bit Linux

Posted by Kevin Smith on Oracle Blogs See other posts from Oracle Blogs or by Kevin Smith
Published on Wed, 26 Sep 2012 11:58:09 +0000 Indexed on 2012/09/26 15:44 UTC
Read the original article Hit count: 1227

Filed under:

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.

© Oracle Blogs or respective owner

Related posts about /Oracle