我已经在stackoverflow中寻找了这个问题。 我发现以下链接中提出的问题与我的相似,我尝试执行其中提到的内容,但这似乎对我没有用。 The full pathname of a JDK installation for Oracle SQL Developer
我尝试在product.conf文件中添加路径,但这仍然会出错。这就是我得到的
./sqldeveloper.sh
Oracle SQL Developer
Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/nithinchandranp/.sqldeveloper/18.3.0/product.conf
/usr/lib/jvm/java-11-openjdk-amd64
Error: Java home /usr/lib/jvm/java-11-openjdk-amd64 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/nithinchandranp/.sqldeveloper/18.3.0/product.conf
/home/nithinchandranp/SQL Developer/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
有人可以帮我解决这个问题。 谢谢。
答案 0 :(得分:1)
我们需要JDK 8,并且仅支持Oracle Java。
计划在明年下半年支持开放的JDK 11。