Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DBCA cannot run

Re: DBCA cannot run

From: Alex Filonov <afilonov_at_yahoo.com>
Date: 11 Aug 2003 09:03:25 -0700
Message-ID: <336da121.0308110803.f898648@posting.google.com>


garrylam <member34439_at_dbforums.com> wrote in message news:<3223402.1060570780_at_dbforums.com>...
> I have set the soft-link in $ORACLE_HOME
> let JRE -> /usr/local/java
>
> when I run the DBCA , it will show error message:
>
> "Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM"

Which actually means that you installed Oracle with different java VM. Usually Oracle is installed with its own VM, but you can point it to other VM during installation. Check which VM was set during Oracle installation.

Usual problem with dbca, netca, emca and other java-based tools in Oracle. These scripts are created during installation, and the text of the scripts is tied to the java VM used by Oracle during install. If you want to switch to different VM, you have only 2 solutions: 1. reinstall software.
2. Manually modify scripts (I did it once but wouldn't recommend).

One more hint: there is a bug related to java VM referencing in 9.2, on some computers the reference is not correct. The workaround is to set environment variables ORACLE_BASE and ORACLE_HOME before installation and set the to different directories. Which actually means that you can't have inventory in ORACLE_HOME. Received on Mon Aug 11 2003 - 11:03:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US