How to change settings for SQL Developer to correctly recognize current version of SDK

后端 未结 12 2134
天命终不由人
天命终不由人 2020-12-11 14:54

I\'ve installed Oracle 11g r2 to my machine and when I opened Oracle SQL Developer it says: java 1.6.0_02 is not supported and telling me to install new java ve

12条回答
  •  [愿得一人]
    2020-12-11 15:19

    Adding a solution for Mac.

    Edit this file: /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/jdk.conf

    Uncomment the below line for SetJavaHome and give it the full path to JDK1.8. As of today, it does not work with JDK 11.

    # By default, the product launcher will search for a JDK to use. If you wish
    # to specify a JDK to use for all users of this install, uncomment the line
    # below and set the path the the preferred JDK
    #
    # SetJavaHome /path/jdk
    

提交回复
热议问题