Q

Could not initialize the Java Virtual Machine

I am trying to install Oracle Client 9.2.0.1 on Windows XP Professional on a DELL Optiplex GX620. It is a P4 machine. It gives me the error "Could not initialize the Java Virtual Machine. Program will exit."

I am trying to install Oracle Client 9.2.0.1 on Windows XP Professional on a DELL Optiplex GX620. It is a P4 machine. It gives me the error "Could not initialize the Java Virtual Machine. Program will exit."

There have been known problems with the Pentium 4 and Xeon processors, and the Oracle Universal Installer (OUI).

While these problems were mostly specific to Oracle8i, there have been a few issues with the 9i OUI, as well. You could try editing the registry entries HKEY_CURRENT_USER\Environment\TEMP and/or HKEY_CURRENT_USER\Environment\TMP to point to C:\temp or some other writable directory path with no special characters.

If the directory specified by HKEY_CURRENT_USER\Environment\TEMP contains a hash symbol, #, then when the JVM tries to parse the dynamically built CLASSPATH it will fail and be unable to load its core classes. The default directory specified by HKEY_CURRENT_USER\Environment\TEMP is %USERPROFILE%\Local Settings\Temp.

Note that you must be very careful editing registry entries as this may cause other applications to stop working.

This was first published in February 2006

Dig deeper on Oracle database installation, upgrades and patches

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close