oracle官网下的 sqldeveloper-4.1.2.20.64-macosx.app 打不开, 网上说要改java home, 但我的环境变量已经有java home了
?
?
?
> echo $JAVA_HOME/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
?
?
?
?
> /usr/libexec/java_home -v 1.8Unable to find any JVMs matching version "1.8"./Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
?
?
查看安装内容:
sqldeveloper.sh中
?
#!/bin/bash export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
?
升级jdk 1.8后正常启动
?
?