myeclipse6.5连接oracle11G R2 ora

Jun 07, 2016 pm 03:44 PM
接続する

1.环境 ----------------- eclipse3.3 myeclipse6.5 oracle11G R2 jdk1.6 2。错误信息: ----------- ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified 3。解决办法: ------

1.环境

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

eclipse3.3  myeclipse6.5 oracle11G R2  jdk1.6

2。错误信息:

-----------

ORA-00604: error occurred at recursive SQL level 1

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

3。解决办法:

---------

打开D:/MyEclipse-6.5/eclipse/eclipse.ini文件;

把 -Duser.language=en 改为:-Duser.language=zh

在DB Browser中,oracle10g驱动用ojdbc14.jar--支持jdk1.4 jdk1.5

oracle11G R2 驱动用ojdbc14.jar--支持1.6

如果是jdk1.2/jdk1.3 ,使用class12.jar就可以了

4.oracle10g驱动使用的jdk环境:

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

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, except that classes were

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

    classes12dms.jar (1,601,843 bytes) - same as classes12.jar, except that it contains

additional code`to support Oracle Dynamic Monitoring Service.

    classes12dms_g.jar (2,046,467 bytes) - same as classes12dms.jar except 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, except that classes were compiled

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

    ojdbc14dms.jar (1,548,006 bytes) - same as ojdbc14.jar, except that it contains

additional code`to support Oracle Dynamic Monitoring Service.

    ojdbc14dms_g.jar (1,940,478 bytes) - same as ojdbc14dms.jar, except 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.参考文档:

-----------

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

 

以上方法对我的系统基本无效.

我用的是ubuntu 8.04 ,java版本1.6.0-06 oracle 10.2.0.1 数据库字符集 gbk , eclipse 3.3.2 myeclipse6.5 GA

最终,将ubuntu切换到英文下,问题解决 . 但这不是最终解决方法. 还在寻找中.


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.

在eclipse.ini里加入这两行后,解决!(这样要通过运行eclipse才生效)

另一种解决办法是像上面说的,修改myeclipse.sh 加上 -Duser.language=en  -Duser.country=US
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。

ホットな記事タグ

メモ帳++7.3.1

メモ帳++7.3.1

使いやすく無料のコードエディター

SublimeText3 中国語版

SublimeText3 中国語版

中国語版、とても使いやすい

ゼンドスタジオ 13.0.1

ゼンドスタジオ 13.0.1

強力な PHP 統合開発環境

ドリームウィーバー CS6

ドリームウィーバー CS6

ビジュアル Web 開発ツール

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

Win11 ゲームパッド接続完全ガイド Win11 ゲームパッド接続完全ガイド Jan 02, 2024 pm 05:26 PM

Win11 ゲームパッド接続完全ガイド

win7プリンターに接続できませんエラーコード0x0000011b win7プリンターに接続できませんエラーコード0x0000011b Dec 26, 2023 pm 10:01 PM

win7プリンターに接続できませんエラーコード0x0000011b

Windows 11 でネットワーク接続の詳細とステータスを確認する方法 Windows 11 でネットワーク接続の詳細とステータスを確認する方法 Sep 11, 2023 pm 02:17 PM

Windows 11 でネットワーク接続の詳細とステータスを確認する方法

体脂肪計の接続方法 体脂肪計の接続方法 Mar 07, 2024 pm 04:50 PM

体脂肪計の接続方法

プリンターのエラー コード 0x0000011b は何を意味しますか? プリンターのエラー コード 0x0000011b は何を意味しますか? Feb 18, 2024 pm 10:02 PM

プリンターのエラー コード 0x0000011b は何を意味しますか?

Windows 10 でネットワーク接続の制限を解決する方法 Windows 10 でネットワーク接続の制限を解決する方法 Feb 19, 2024 pm 09:20 PM

Windows 10 でネットワーク接続の制限を解決する方法

共有プリンターがプリンターに接続できない 共有プリンターがプリンターに接続できない Feb 22, 2024 pm 01:09 PM

共有プリンターがプリンターに接続できない

OnePlus ウォッチを Bluetooth ヘッドセットに接続する方法_OnePlus ウォッチを Bluetooth ヘッドセットに接続する方法 OnePlus ウォッチを Bluetooth ヘッドセットに接続する方法_OnePlus ウォッチを Bluetooth ヘッドセットに接続する方法 Mar 23, 2024 pm 01:16 PM

OnePlus ウォッチを Bluetooth ヘッドセットに接続する方法_OnePlus ウォッチを Bluetooth ヘッドセットに接続する方法

See all articles