从哪里获取用于 SQL Developer 安装的 Java.exe 文件
我刚刚安装了Oracle 11g,并尝试启动Oracle SQL Developer以便开始编写查询。
它在问我:
Enter the full pathname for the java.exe file .
我在哪里可以找到这个?我对 java.exe
进行了全局搜索,并且确信没有获得一些 Oracle 相关的 pdf 文件。我的 Oracle 也是安装在 users/vas 之外的。
I just installed Oracle 11g, and tried to start Oracle SQL developer so as to start writing queries.
It is asking me:
Enter the full pathname for the java.exe file .
Where do I find this? I did a global search for java.exe
and am sure did not get some Oracle related pdf files. Also my Oracle is installed out of users/vas.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(14)
当尝试从 Oracle Database 11g Enterprise 安装中启动 SQL Developer 时,我反复遇到以下消息:输入 java.exe 的完整路径名。
无论我浏览到正确的路径多少次,我都会看到完全相同的对话框。这是在 Windows 7 中,解决方案是右键单击 SQL Developer 图标并选择“以管理员身份运行”。然后我使用了这个路径:C:\app\shellperson\product\11.1.0\db_1\jdk\jre\bin\java.exe
I encountered the following message repeatedly when trying to start SQL Developer from my installation of Oracle Database 11g Enterprise: Enter the full pathname for java.exe.
No matter how many times I browsed to the correct path, I kept being presented with the exact same dialog box. This was in Windows 7, and the solution was to right-click on the SQL Developer icon and select "Run as administrator". I then used this path: C:\app\shellperson\product\11.1.0\db_1\jdk\jre\bin\java.exe
您需要安装JAVA SDK
并给出包含 java.exe 文件的 bin 目录的路径。
示例 - c:/programfiles/java/jdk/bin
You need to install JAVA SDK
and give the path upto bin directory which contains the java.exe file.
example - c:/programfiles/java/jdk/bin
以下是我修复此问题的方法:
先决条件
之后
打开文件
..\sqldeveloper\sqldeveloper\bin\sqldevloper.conf
并添加以下行来设置 jdk 路径:SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk
如果它不允许您保存文件,请将整个 sqldeveloper 文件夹复制到您有写入权限以修改此文件的其他位置。
以管理员身份运行
sqldeveloper.exe
(如果您将文件夹从oracle文件夹中移出,则从新位置运行)并输入oracle安装时附带的jdk路径:例如C:\ Program Files\Oracle\11g\product\11.1.0\client_1\jdk\bin
Hhere is what what I did to fix it:
Prerequisite
After
Open the file
..\sqldeveloper\sqldeveloper\bin\sqldevloper.conf
and add the following line to set jdk path:SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk
If it dont allow you to save the file, copy whole sqldeveloper folder to a different location where you have write access to modify this file.
Run
sqldeveloper.exe
(from the new place if you moved the folder out from oracle folders) as administrator and enter the jdk path that comes with your oracle installation: e.g.C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk\bin
您必须提供 jdk 的路径...通常是 C:\Program Files\Java..
如果它仍然询问你的路径
检查此 http://www.shellperson.net/oracle -sql-developer-enter-the-full-pathname-for-java-exe/
You have to give the path to jdk ...typically C:\Program Files\Java..
Still if it is asking you for the path then
Check this http://www.shellperson.net/oracle-sql-developer-enter-the-full-pathname-for-java-exe/
[语境]
在WinXP虚拟机中。
我的“java.exe”位于Oracle11g文件夹中,路径为“C:\Oracle11g\product\11.2.0\dbhome_1\jdk\bin\java.exe” >。
希望有帮助!!
[Context]
In a virtual machine of WinXP.
My "java.exe" was in the Oracle11g folder, under the path "C:\Oracle11g\product\11.2.0\dbhome_1\jdk\bin\java.exe".
Hope it helps!!
请提供完整路径>
在我的情况下,它是 E:\app\ankitmittal01\product\11.2.0\dbhome_1\jdk\bin\java.exe
来自: http://www.javamadesoeasy.com/2015/07/oracle-11g-and-sql-developer.html
Please provide full path >
In mines case it was E:\app\ankitmittal01\product\11.2.0\dbhome_1\jdk\bin\java.exe
From : http://www.javamadesoeasy.com/2015/07/oracle-11g-and-sql-developer.html
如果安装了 Java,java.exe 将位于 bin 目录中。如果找不到,请下载并安装Java,然后使用安装路径+“\bin”。
If you have Java installed, java.exe will be in the bin directory. If you can't find it, download and install Java, then use the install path + "\bin".
如果您不想安装 Java 或者只是想快速开始编写查询,那么可以使用 SQL*Plus,它也是命令行。
它不太漂亮,但可以让您快速入门,并且有相关的 Oracle 文档。
If you don't want to install Java or you just want to get started writing queries quickly, then use SQL*Plus, which is the command line too.
It's not pretty, but will get you started quickly and there is Oracle documentation on it.
您可以在 sql Developer for oracle 11g 中输入所需的 jdk 路径作为 java.exe 的完整路径。
我在系统中的以下路径找到了jdk。
c:\app\sony\product\11.0.0\db_1\jdk
you can enter the jdk path required as th full path for java.exe in sql developer for oracle 11g.
I found the jdk at the following path in my system.
c:\app\sony\product\11.0.0\db_1\jdk
使用任何 JDK 安装,只要不是 64 位即可。
确定是否是 64 位安装的最简单方法是检查它所在的文件夹。
例如
Use any JDK installation as long as it is NOT 64bit.
The easiest way to find out if it is 64bit installation is to check the folder it resides into.
e.g.
您必须安装最新的 Java SE 开发工具包(注意不是 Java SE 运行时环境)并提供路径 ex C:\Program Files\Java\jdk1.6.0_41
You must install the latest Java SE Development Kit (note not the Java SE Runtime Environment ) and provide the path ex C:\Program Files\Java\jdk1.6.0_41
您应该浏览到 java 安装位置,然后转到包含 java.exe 文件的 bin 目录。
示例 - C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
但您应该以管理员身份运行 SQL Developer
you should browse to where java installed, then go to bin directory which contains the java.exe file.
example - C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
but you should run your SQL Developer as Administrator
如果系统要求您输入 JDK 的完整路径名,请单击“浏览”并找到它。例如,在 Windows 系统上,该路径的名称可能类似于 C:\Program Files\Java\jdk1.7.0_51。
If you are asked to enter the full pathname for the JDK, click Browse and find it. For example, on a Windows system the path might have a name similar to C:\Program Files\Java\jdk1.7.0_51.
我在 C:\ORACLE11G\product\11.2.0\client_1\jdk\bin 中找到了适用于 SQL Developer 的 java.exe,其中 C:\ORACLE11G 是我的 Oracle Home。我安装的客户端是11.2.0。
希望这有帮助。
I found my java.exe that worked for SQL Developer at C:\ORACLE11G\product\11.2.0\client_1\jdk\bin where C:\ORACLE11G is my Oracle Home. The client that I have installed is 11.2.0.
Hope this helps.