Java 如何修复 Oracle 客户端设置问题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23883219/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 08:50:39  来源:igfitidea点击:

how can I fixed Oracle Client Setup problems?

javaoracleclient

提问by user3423728

I want to setup oracle clientin my server . But I see this error. How can I fixed?

我想oracle client在我的服务器中设置。但我看到了这一点error。我该如何修复?

The Java RunT?me Enviromentwas not found at bin\javaw.exe. Hence, the Oracle Universal Installercannot be run. Please visit this linkand install JRE version 1.3.1 or higherand try again.

Java RunT?me Enviroment未找到时bin\javaw.exe。因此,Oracle Universal Installer无法运行。请访问此链接并安装JRE version 1.3.1 or higher并重试。

回答by AlexR

I believe that the problem is that setup of JRE does not create environment variable JAVA_HOMErequired by many tools probably including Oracle client. So, just add this variable manually. It should point to path where your JRE is installed, i.e. in your case C:\Program Files\Java\jre7\

我认为问题在于 JRE 的设置没有创建JAVA_HOME许多工具(可能包括 Oracle 客户端)所需的环境变量。因此,只需手动添加此变量。它应该指向安装 JRE 的路径,即在您的情况下C:\Program Files\Java\jre7\

回答by Icke

from: http://paulsoftech.blogspot.de/2012/09/binjavawexe-not-found-when-trying-to.html

来自:http: //paulsoftech.blogspot.de/2012/09/binjavawexe-not-found-when-trying-to.html

  1. install JRE-1.7.0

  2. add these 2 lines at the file oraparam.ini

    JRE_VERSION=1.7.0

    JRE_LOCATION=C:\Program Files\Java\jre7

  3. comments the line :

    JRE_VERSION=1.4.2

  1. 安装 JRE-1.7.0

  2. 在 oraparam.ini 文件中添加这两行

    JRE_VERSION=1.7.0

    JRE_LOCATION=C:\Program Files\Java\jre7

  3. 评论该行:

    JRE_VERSION=1.4.2

回答by goneos

For me this was caused by some issue with the unzipped installer. I copied the zip to my local machine, unzipped and installed without issue.

对我来说,这是由解压缩安装程序的一些问题引起的。我将 zip 复制到我的本地机器,解压缩并安装没有问题。