简体   繁体   English

运行sqldeveloper会引发错误“找不到javaw.exe”

[英]Running sqldeveloper is throwing error “cannot find javaw.exe”

I installed sqldeveloper zip file in my system (windows 7)/. 我在系统(Windows 7)/中安装了sqldeveloper zip文件。 As soon as I clicked on sqldeveloper.exe, its throwing error "Windows cannot find C:/Program Files(x86)/Java/ jre1.8.0_31/bin/javaw.exe" 当我单击sqldeveloper.exe时,其引发错误“ Windows无法找到C:/ Program Files(x86)/ Java / jre1.8.0_31 / bin / javaw.exe”

I dont understand why its giving error which has this path. 我不明白为什么它给的错误有这条路。 In my system, I had installed JDK-1.7 64 bits. 在我的系统中,我已经安装了64位JDK-1.7。 Previously I had installed JDK-1.8 32 bits. 以前我已经安装了32位JDK-1.8。 After removing JDK-1.8, I installed JDK-1.7 and changed the path variable also. 删除JDK-1.8之后,我安装了JDK-1.7并更改了path变量。 Everything is working fine with java in my system. 我的系统中的Java一切正常。 But SQLDeveloper is not being run. 但是SQLDeveloper没有运行。 Please help. 请帮忙。

You need to set your JAVA_HOME correctly. 您需要正确设置JAVA_HOME

In Windows : Windows中

Go to, 去,

System --> Advance system settings --> Advanced --> Environment Variables 系统->高级系统设置->高级->环境变量

If you don't have JAVA_HOME , then add the variable and set the value 如果您没有JAVA_HOME ,则添加变量并设置值

For example, 例如,

C:\Program Files\Java\jdk1.7.0_71

In *NIX : * NIX中

export JAVA_HOME=/<your_location>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM