When Oracle SQL developer is used, the following error occurs: unable to find a Java virtual machine.

Source: Internet
Author: User
1. Environment

Win7 x64, Oracle 11g R2, jdk6 x64

2. Problem

When Oracle SQL statement is started for the first time, we will enter the java.exeexample. I found java.exe In the bind in the jdkinstallation directory, but the following error will be reported after entering the content:

3. Cause

The Oracle SQL statement installed in Oracle 11g is 32-bit, but the java. EXE we have specified is 64-bit, so this error occurs.

4. Solution

1) download Oracle SQL developer x64 from the Internet, and then replace the 32-bit Oracle SQL developer in the original directory: D: \ app \ oracle \ product \ 11.1.0 \ db_1 \ sqldeveloper. In this way, restart Oracle SQL developer and set the java.exe path.

2) install JDK 6 x86, that is, the 32-bit JDK. Although our system is 64-bit, it is also compatible with the 32-bit JDK.

Both methods have been tried and can run normally.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.