![在终端中运行 sqldeveloper 时出现问题](https://linux22.com/image/999075/%E5%9C%A8%E7%BB%88%E7%AB%AF%E4%B8%AD%E8%BF%90%E8%A1%8C%20sqldeveloper%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我在终端中运行 sqldevleoper 时遇到了问题,因为我的机器上安装了 JDK 1.8,尽管它显示如下。请参考以下错误并分享您的解决方案。
Error: Java home /usr/lib/jvm/jdk1.7.0 is not a JDK,
either jre/bin/java OR lib/tools.jar OR lib/dt.jar is missing.
Running SQL Developer under a JRE is not supported.
If this Java VM is actually a full JDK installation, add
SetSkipJ2SDKCheck true to one of the following files.
Otherwise specify a different Java JDK location with a
SetJavaHome directive in one of the following files:
/home/msr/.sqldeveloper/4.2.0/product.conf
/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf