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
With SQL Developer 19.1 (2018) I tried to install it with Java 11 but it failed, so for luck I still have an old java 8 version jdk8u202-b08. If that happens you need to remove this folder
C:\Users\<username>\AppData\Roaming\sqldeveloper
And then run the exe again
C:\..\sqldeveloper-19.1\sqldeveloper.exe
Yes, Oracle just made a dumb installation package to makes us waste our time...good job guys!!!
The thing is, there should be a wizard/installer to configure the java path, this is because the jdk that comes pre-configured just doesn't work. Personally, I had to edit to the sqldeveloper.conf
under sqldeveloper\bin
just has Nivas said and change the pre-configured path "SetJavaHome ../../jdk
" to "SetJavaHome C:\Program Files\Java\jdk1.8.0_73
" - for earlier versions of sqldeveloper it's a requirement to have Java8 and be sure that if you install SQLDeveloper x64 version that the java version that you set in your path is also x64.
If you are using SQL developer > 4.x you can find this setting at this location on windows:
<USER HOME PATH>\AppData\Roaming\sqldeveloper\<VERSION>\product.conf
and change SetJavaHome
to your JDK path. You can get the user home path on the command prompt using %homepath%.
In order to change the version of SDK linked to your SQL developer, uninstall the other versions of SDK and install the required version. Once you install the required version, try running SQL developer it will automatically prompt you to attach the path. ANd you can provide the new path.
If you have MacOS :
/Library/Java/JavaVirtualMachines/jdk-11.0.4.jdk/Contents/Home
cd /Users/sarath_sukumaran/.sqldeveloper/19.2.1
Edit product.conf to set SetJavaHome
eg : SetJavaHome /Library/Java/JavaVirtualMachines/jdk-11.0.4.jdk/Contents/Home
Re-open the SQL Developer and check the Java version from 'About Oracle SQL Developer' > Version
None of the sqldeveloper.conf had an entry in my case, and i downloaded another zip installation, which gave me same error for same JDK versoin, without me configuring anything, S
COMPANY=Oracle PRODUCT=SQL Developer VERSION=19.01000942042f VER=19.1.0 VER_FULL=19.1.0.094.2042 BUILD_LABEL=094.2042 BUILD_NUM=094.2042 EDITION=