Monday, February 27, 2012

How to run 32bit RCU on 64bit Linux in graphical mode?

RCU is available only on 32-bit x86 Linux and 32-bit Microsoft Windows operating system platforms. For Release and later, RCU can also be run on 64-bit x86 Linux and 64-bit Microsoft Windows operating systems. 

If you run the RCU in graphical mode using x11 client from the 64-bit x86 Linux, you will get following error:-
Exception in thread "Main Thread" java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$100(
        at sun.awt.X11GraphicsEnvironment$
        at sun.awt.X11GraphicsEnvironment.<clinit>(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
        at sun.awt.X11.XToolkit.<clinit>(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.Toolkit$
        at java.awt.Toolkit.getDefaultToolkit(
        at com.jgoodies.looks.LookUtils.isLowResolution(
        at com.jgoodies.looks.LookUtils.<clinit>(
        at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(
        at oracle.sysman.assistants.rcu.ui.InteractiveRCUModel.<init>(
        at oracle.sysman.assistants.rcu.Rcu.execute(
        at oracle.sysman.assistants.rcu.Rcu.main(


1.       Go to $RCU/bin and change the permission of file using chmod 755 rcu
2.       Edit the using nano rcu
3.       Change the 32bit JRE path to with 64bit JRE path
JRE_DIR=export JAVA_HOME=/apps/oracle/java/jrockit-jdk1.6.0_26/ jre

Now, run the rcu again.