Tuesday, July 19, 2011

INST-07408:Unable to install or configure the product on a 32-bit JVM on a 64-bit machine.

Hi All

I got the following error during the Discoverer 11g installation on RH5 64-bit after Weblogic and RCU were installed successfully:



INST-07408:Unable to install or configure the product on a 32-bit JVM on a 64-bit machine.
Reason:
1. Weblogic was installed with java 32-bit
2. Weblogic with installed with default RH5 java - JDK1.4

Here the action Plan to fix the issue:

1. Download the latest JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html. Pay attention, the JDK need to be for Linux 64-bit.
2. Copy the rpm to server under /usr/java and run command 
    $ ./jdk-6u26-linux-x64-rpm.bin

3. Enter to discoverer Linux user and add to .bash_profile (.profile) 
    export PATH=/usr/java/jdk1.6.0_26/bin:$PATH

4. Check if the java version was changed:
     $ which java
     /usr/java/jdk1.6.0_26/bin/java
     $ java -version
     java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) 

5. Re-run the Weblogic installation:
 /usr/java/jdk1.6.0_26/jre/bin/java -jar -d64 wls1032_generic.jar
(For RH 64bit need to download generic weblogic installation).

6. Re-run the Discoverer installation:
$ ./runInstaller


Good Luck..

13 comments:

  1. excellent post. and also most of the times both 32 bit and 64 bit works as these expect in some cases where if there are any machine specific calls are called. 32 bit takes 4 bytes long,64 bit takes 8 bytes of size, so 32 bit takes less size compared to 64 bit machines.
    To find out the 32 bit or 64 bit 32 bit or 64 bit

    ReplyDelete
  2. i have already installed weblogic server 64 bit and jdk 64. i still get the same message. please help me out

    ReplyDelete
    Replies
    1. Seems that during the installation you still used the other java version. Try to reinstall the generic wls package with the right java again.

      Delete
  3. i got the same error on windows 7 64-bit .. what should i do?
    by the way i installed Oracle WebLogic Server 11gR1 (10.3.6) + Coherence + OEPE - Package Installer

    ReplyDelete
    Replies
    1. Hi Medo,
      Seems that your windows use java 32 bit. Try to install 64 and re-install the weblogic.

      Delete
    2. thank you so much i installed jdk 64 and WLS 10.3.6 generic and it works but i can't start the forms & reports services form console it doesn't appear !! if there are any way to send you screen shots to completely understand what i mean please tell me

      Delete
    3. this is links for photos
      http://www.4shared.com/photo/TA2grt55/consolegif.html
      http://www.4shared.com/photo/7Ral-vkL/dos.html

      Delete
    4. Hi Medo.
      Now you need to config your services:

      cd $ORACLE_HOME/bin
      ./config.sh or config.bat on windows.

      You can contact me via CONTACT ME page in my blog for any question.
      Good Luck

      Delete
    5. There is weblogic 64 bit for windows or just the JDK should be a 64 bit

      Delete
    6. Hi, both of them need to be 64 bit

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Hi Sharmila.
      the command is /usr/java/jdk1.6.0_26/jre/bin/java -jar -d64 wls1032_generic.jar

      where the /usr/java/jdk1.6.0_26/jre/bin/java = path for your java 64bit

      Delete
  5. i got stuck in this error:-
    Configuration Action 'Creating Domain' has failed. Please check logs for details.

    ReplyDelete