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

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

    In windows 10, I needed to go to following folder and change following product.conf file and set SetJavaHome directive.

    %APPDATA%\sqldeveloper\\product.conf
    

    in my machine:

    C:\Users\ati_o\AppData\Roaming\sqldeveloper\17.4.0\product.conf
    

    with following line.

    SetJavaHome C:\Tools\oraclejdk8
    

    Thanks to comment from @thatjeffsmith, in MacOS or Linux/Unix, go to:

    $HOME/.sqldeveloper//product.conf
    

    to set same SetJavaHome directive.

提交回复
热议问题