登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

云之南

风声,雨声,读书声,声声入耳;家事,国事,天下事,事事关心

 
 
 

日志

 
 
关于我

专业背景:计算机科学 研究方向与兴趣: JavaEE-Web软件开发, 生物信息学, 数据挖掘与机器学习, 智能信息系统 目前工作: 基因组, 转录组, NGS高通量数据分析, 生物数据挖掘, 植物系统发育和比较进化基因组学

使用myeclipse6.0连接oracle10g的问题及解决办法  

2008-04-02 15:52:14|  分类: java-j2ee |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

1.环境
-----------------
eclipse3.3  myeclipse6 oracle10g   jdk1.5

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.0\eclipse\eclipse.ini文件;
把 -Duser.language=en 改为:-Duser.language=zh
在DB Browser中,oracle10g驱动用ojdbc14.jar--支持jdk1.4 jdk1.5
如果是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

  评论这张
 
阅读(1024)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018