OBIEE // Java

Changing the JAVA_HOME of an existing OBIEE 10g install

Following on from Matt's post about Installing OBIEE 10g on Windows 7 (32bit or 64bit) machine...

If you have accidentally pointed your OBI install at a 64-bit JDK and you're getting errors like this during OC4J startup:

SEVERE: Exception details: C:\OracleBI\server\Bin\perfjni.dll: 
Can't load IA 32-bit .dll on a AMD 64-bit platform

Then you can redirect it to a 32-bit JDK by editing C:\OracleBI\oc4j_bi\bin\oc4j.cmd and setting the JAVA_HOME variable like so:

set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_29

That sorts out OC4J but it's likely that the Oracle BI Java Host service won't be working either. The JAVA_HOME for that is in C:\OracleBIData\web\config\instanceconfig.xml

<JavaHome>C:\Program Files (x86)\Java\jdk1.6.0_29</JavaHome>

Add comment

  Country flag

  • Comment
  • Preview


Month List