安装OracleSql Developer遇到的打不开,找不到JDK等问题
作者:互联网
所有需要文件在9132文件夹里 https://pan.baidu.com/disk/home?#/all?vmode=list&path=%2F9132
SQLDeveloper版本:sqldeveloper-20.4.1.407.0006-macosx.app.zip
JDK 8 : jdk-8u281-macosx-x64.dmg
遇到的问题是下载好了打不开SQLDeveloper
解决: 使用terminal调用
cd /Applications/SQLDeveloper.app/Contents/resources/sqldeveloper
zsh sqldeveloper.sh
显示需要JDK完整路径
The JDK (../../jdk) is not a valid JDK.
The JDK was specified by a SetJavaHome directive in a .conf file or by a --setjavahome option.
Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /Users/XXX/.sqldeveloper/20.4.1/product.conf
另外开一个窗口输入
/usr/libexec/java_home -V
显示
1.8.0_281 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home
复制后半段路径
成功
标签:sqldeveloper,jdk,macosx,JDK,..,SQLDeveloper,OracleSql,Developer 来源: https://blog.csdn.net/gaocuo111/article/details/114877244