The NO ocijdbc9 in Java. Library. Path of the OCI connection oracle9i is abnormal.

Source: Internet
Author: User

Environment:

Windows XP SP3

Jdk1.5

Tomcat 6.0

My eclipse 6.5

Oracle9i 9.2.0.1

The following error occurs when JDBC: oracle: oci8: @ dbname ur is used to connect to the database and test the connection in the myeclipse hibernate view:

No ocijdbc9 in Java. Library. Path

The problem is solved by searching for materials online. cause:

The ocijdbc9 in Oracle is a DLL and environment variables are not loaded.

Solution:

1. In preferences --> myeclipse enterprise workbench --> servers --> Tomcat 6. x --> JDK

Add-djava. Library. Path = to the optional Java VM arguments ParameterD:/Oracle/ora92/bin

In this example, the "bin" directory of the Oracle client is written in black text and changed to its own directory.

2. In preferences --> myeclipse enterprise workbench --> servers --> Tomcat 6. x --> paths

Use add dir in the apend to library path parameter to add the bin directory address of Oracle.

 

Solve the problem !..

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.