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

后端 未结 12 2168
天命终不由人
天命终不由人 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:41

    If you have MacOS :

    1. Get the JDK home path eg: /Library/Java/JavaVirtualMachines/jdk-11.0.4.jdk/Contents/Home
    2. Go to eg : cd /Users/sarath_sukumaran/.sqldeveloper/19.2.1
    3. Edit product.conf to set SetJavaHome eg : SetJavaHome /Library/Java/JavaVirtualMachines/jdk-11.0.4.jdk/Contents/Home

    4. Re-open the SQL Developer and check the Java version from 'About Oracle SQL Developer' > Version

提交回复
热议问题