Myeclipse6.5 connect to oracle11GR2ora

Source: Internet
Author: User
1. Environment ----------------- eclipse3.3myeclipse6.5oracle11GR2jdk1.62. Error message: ----------- ORA-00604: erroroccurredatrecursiveSQLlevel1ORA-12705: CannotaccessNLSdatafilesorinvalidenvironmentspecified3. Solution :------

1. Environment --------------- eclipse3.3 myeclipse6.5 oracle11G R2 jdk1.6 2. Error message: ----------- ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified 3. Solution :------

1. Environment

-----------------

Eclipse3.3 myeclipse6.5 oracle11G R2 jdk1.6

2. Error message:

-----------

ORA-00604: error occurred at recursive SQL level 1

ORA-12705: Cannot access NLS data files or invalid environment specified

3. Solution:

---------

Open the D:/MyEclipse-6.5/eclipse. ini file;

Change-Duser. language = en to-Duser. language = zh.

In the DB Browser, the oracle10g driver uses ojdbc14.jar -- jdk1.4 jdk1.5 is supported.

Ojdbc14.jar for oracle11G R2 driver -- 1.6 supported

For JDK/JDK, use class12.jar.

4. jdk environment for oracle10g DRIVER:

---------------------

Oracle Database 10g Release 2 (10.2.0.2) JDBC Drivers

JDBC Thin for All Platforms

Classes12.jar (1,594,191 bytes)-for use with JDK 1.2 and JDK 1.3

Classes12_g.jar (2,038,127 bytes)-same as classes12.jar, alias t that classes were

Compiled with "javac-g" and contain some tracing information.

Classes12dms. jar (1,601,843 bytes)-same as classes12.jar, doesn't that it contains

Additional code 'to support Oracle Dynamic Monitoring Service.

Classes12dms_g.jar (2,046,467 bytes)-same as classes12dms. jar packages t that classes were

Compiled with "javac-g" and contain some tracing information.

Ojdbc14.jar (1,540,457 bytes)-classes for use with JDK 1.4 and 1.5

Ojdbc14_g.jar (1,932,834 bytes)-same as ojdbc14.jar, alias t that classes were compiled

With "javac-g" and contain some tracing information.

Ojdbc14dms. jar (1,548,006 bytes)-same as ojdbc14.jar, doesn t that it contains

Additional code 'to support Oracle Dynamic Monitoring Service.

Ojdbc14dms_g.jar (1,940,478 bytes)-same as ojdbc14dms. jar, using t that classes were

Compiled with "javac-g" and contain some tracing information.

Orai18n. jar (1,645,109 bytes)-NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5.

This jar file replaces the old nls_charset jar/zip files.

Ons. jar (48,492 bytes)-for use by the pure Java client-side Oracle Notification

Services (ONS) deamon.

Demo.tar (604,160 bytes) or demo.zip (529,267 bytes)-contains sample JDBC programs.

5. References:

-----------

Http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html

Http://caijinrong.bokee.com/5996094.html

Http://read.newbooks.com.cn/info/175003.html

The above method is basically invalid for my system.

I use ubuntu 8.04, java version 1.6.0-06 oracle 10.2.0.1 database character set gbk, eclipse 3.3.2 myeclipse6.5 GA

Finally, I switched ubuntu to English to solve the problem. But this is not the final solution. I am still searching.


For starting eclipse in English locale you can do:
-Add option-nl en_US
-Add with-Duser. language = en-Duser. country = US in-vmargs part
Or
-Add in eclipse. ini

-Duser. language = en
-Duser. country = US

In seperate line.

Add these two lines in eclipse. ini to solve the problem! (This takes effect only by running eclipse)

Another solution is to modify myeclipse. sh and add-Duser. language = en-Duser. country = US.

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.