oracle 启动 SQL Developer 时出错
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/657336/
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
Error starting SQL Developer
提问by Sopolin
HI everyone.
嗨,大家好。
I am trying to run sqldeveloper on my Red Hat Linux Enterprise 5 machine but get the following error:
我试图在我的 Red Hat Linux Enterprise 5 机器上运行 sqldeveloper,但出现以下错误:
[root@machine plugins]# sqldeveloper
[root@machine 插件]# sqldeveloper
Oracle SQL Developer Copyright (c) 2006, 2007, Oracle. All rights reserved.
Oracle SQL Developer 版权所有 (c) 2006、2007,Oracle。版权所有。
WARNING: error instantiating 'java.util.logging.FileHandler,' referenced by handlers, class not found java.lang.ClassNotFoundException: java.util.logging.FileHandler, <> Exception during runtime initialization java.lang.ExceptionInInitializerError <> Caused by: java.lang.NullPointerException <> [root@machine plugins]#
警告:实例化“java.util.logging.FileHandler”时出错,由处理程序引用,找不到类 java.lang.ClassNotFoundException: java.util.logging.FileHandler, <> 运行时初始化期间的异常 java.lang.ExceptionInInitializerError <> 由: java.lang.NullPointerException <> [root@machine plugins]#
Do anyone have idea to help me?
有没有人有想法可以帮助我?
采纳答案by Sambath Prum
You might not have Java SDK installed in your machine, or your Java SDK is not properly installed. Thus, please try to reinstall the Java SDK and run the SQL Developer again.
您的机器上可能没有安装 Java SDK,或者您的 Java SDK 没有正确安装。因此,请尝试重新安装 Java SDK 并再次运行 SQL Developer。
Please refer to below web site for the system requirement and installation guide of SQL Developer.
SQL Developer 的系统要求和安装指南请参考以下网站。
http://download.oracle.com/docs/cd/E12151_01/doc.150/e12153/install.htm#sthref15
http://download.oracle.com/docs/cd/E12151_01/doc.150/e12153/install.htm#sthref15
回答by Romain Linsolas
The class it is looking for (i.e. java.util.logging.FileHandler) is part of the JRE (or JDK).
它正在寻找的类(即java.util.logging.FileHandler)是 JRE(或 JDK)的一部分。
So, do you have any JRE or JDK (and which version) installed on your machine? Did you also set the JAVA_HOME environment variable?
那么,您的机器上是否安装了任何 JRE 或 JDK(以及哪个版本)?您是否还设置了 JAVA_HOME 环境变量?