---
title: "myeclipse连接oracle出现ora-12705错误的解决办法"
author: "nieli"
date: "2010-01-17T21:40:13Z"
tags: ["Access", "Eclipse", "Myeclipse", "Oracle", "SQL"]
categories: ["编程语言"]
slug: "myeclipse-oracle-ora-12705"
draft: false
lastmod: "2010-01-17T21:40:13Z"
id: 572876
url: "https://nieli.iteye.com/blog/572876"
---

我用的myeclipse 6.0版本，oracle是10g版本，在连接的时候出现了以下问题

 java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1  
ORA-12705: Cannot access NLS data files or invalid environment specified

一开始以为是驱动程序的问题，其实不是，只需在eclipse目录下找到eclipse.ini文件，把

Duser.language=en  改成 Duser.language=zh就行了。

 

本文来自CSDN博客：[http://blog.csdn.net/yanyiwei2003/archive/2007/10/28/1851684.aspx](http://blog.csdn.net/yanyiwei2003/archive/2007/10/28/1851684.aspx)