SQL Developer: SetJavaHome in Product.conf Does Not Read The JAVA_HOME System Variable on Windows
(Doc ID 2901530.1)
Last updated on OCTOBER 13, 2022
Applies to:
Oracle SQL Developer - Version 20.4 and laterInformation in this document applies to any platform.
Goal
The SQL Developer product.conf should be able to read a Windows system variable.
Given:
C:\sqldeveloper-22.2.0.173.2018-no-jre
C:\jdk-11.0.15
You set "JAVA_HOME=C:\jdk-11.0.15" in the Windows Environment variable.
You set the following in product.conf (C:\Users\<USER>\AppData\Roaming\sqldeveloper\22.2.0\product.conf):
You believe that it should just take the value set (JAVA_HOME=C:\jdk-11.0.15) in the Windows Environment variable without having to re-prompt you.
If SetJavaHome %JAVA_HOME% truly worked, the dialog box would not come up at all, it would be the same as if it was set explicitly as: SetJavaHome C:\jdk-11.0.15.
Is this expected behavior or is it a bug?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |