oracle sql developer中的J2SE SDK配置
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16581065/
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
J2SE SDK configuration in oracle sql developer
提问by user1915108
I installed oracle SQL developer on my machine. When I try to open sqldeveloper.exe, I get a popup that prompts me to select a file path for java.exe
我在我的机器上安装了 oracle SQL developer。当我尝试打开 sqldeveloper.exe 时,出现一个弹出窗口,提示我为 java.exe 选择文件路径
I have java.exe at C:\Program Files\Java\jre7\bin\java.exe
我有 java.exe 在 C:\Program Files\Java\jre7\bin\java.exe
When I try to proceed, I get an error message
当我尝试继续时,我收到一条错误消息
Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre7\java.exe
I also tried moving java.exe file one folder upwards i.e. in C:\Program Files\Java\jre7\
But I still keep getting the same error.
我也尝试将 java.exe 文件向上移动一个文件夹,即在C:\Program Files\Java\jre7\
但我仍然遇到相同的错误。
Can anyone help me in this?
任何人都可以帮助我吗?
回答by Tuyen Nguyen
SQL Developer won't run on Java 64 bit. The reason SQLdev needs a full JDK is for the ability to perform debugging which is only included in the full JDK.
SQL Developer 不能在 Java 64 位上运行。SQLdev 需要完整 JDK 的原因是为了能够执行仅包含在完整 JDK 中的调试。
You can download the Java SE Development Kit 6 32 bit via this link. (Other versions)
您可以通过此链接下载 Java SE Development Kit 6 32 位。(其他版本)
Your J2SE SDK path will be similar like this: C:\Program Files (x86)\Java\jdk1.6.0_45
您的 J2SE SDK 路径将类似于以下内容: C:\Program Files (x86)\Java\jdk1.6.0_45
you can find the SQL Developer configuration file at:
您可以在以下位置找到 SQL Developer 配置文件:
[ORACLEHOME]/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
回答by Hadi Rahjoo
there is some conflict between communicating between java and oracle so oracle is installing an specific java for it self .
java 和 oracle 之间的通信之间存在一些冲突,因此 oracle 正在为它自己安装特定的 java。
try to insert this address :
尝试插入这个地址:
[ORACLEHOME]\product.1.0\dbhome_1\jdk\jre\bin\java.exe
remember [ORACLEHOME] means where your oracle has installed
记住 [ORACLEHOME] 表示您的 oracle 安装位置
回答by Umer
Run SQL Developer as administrator.(works for me)
以管理员身份运行 SQL Developer。(对我有用)