本文介绍了SQLDeveloper无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试启动SQLDeveloper时,它在命令提示符下给了我以下错误:

When i try to start SQLDeveloper, it is giving me the following error in command prompt:

Error: This product requires a Java(TM) Platform 5.0 runtime.
You are using 1.4.2-b28 from C:\j2sdk1.4.2\jre

但是我的JAVA_HOME设置为Java 6

But my JAVA_HOME is set to java 6

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_32

任何人都可以解释到底该怎么做吗?

Can anyone explain what exactly to do to resolve this?

推荐答案

Oracle SQL Developer使用一个名为products.conf的配置文件,该文件位于您的漫游目录中.

Oracle SQL Developer uses a configuration file named products.conf which is situated at your roaming directory.

如果您使用的是Windows 7,则目录路径将为:C:\ Users \\ AppData \ Roaming \ sqldeveloper \ 1.0.0.0.0

If you are using Windows 7 then the directory path will be:C:\Users\\AppData\Roaming\sqldeveloper\1.0.0.0.0

  1. 从C:\ Users \\ AppData \ Roaming \
  2. 删除整个sqldeveloper目录
  3. 重新运行sqldeveloper可执行文件,这将提示您输入jdk主页
  4. 选择jdk主页.即C:\ Program Files \ Java \ jdk1.7.0_55
  5. 享受!
  1. Delete whole sqldeveloper directory from C:\Users\\AppData\Roaming\
  2. Re run sqldeveloper executable, this will prompt for jdk home
  3. Select jdk home. i.e C:\Program Files\Java\jdk1.7.0_55
  4. Enjoy!

这篇关于SQLDeveloper无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 21:05