'SQL Developer - Add new connection is greyed out

suddenly, my SQL Developer turned off, i can't add any connection to connect to my work remote databases, i tried to factory reset the views, uninstalled and reinstalled the app. still can't figure out how to fix it !

Hi, suddenly, my SQL Developer turned off, i can't add any connection to connect to my work remote databases, i tried to factory reset the views, uninstalled and reinstalled the app. still can't figure out how to fix it !



Solution 1:[1]

Found the solution, i needed to configure the JDK under AppData\Roaming\sqldeveloper\21.4.1\product.conf

"SetJavaHome C:\Program Files\Java\jdk1.8.0_301"

Solution 2:[2]

Your connections.json file has probably been corrupted.

You can find that file and try to repair it yourself, OR you can rename it to something else, and when SQLDev starts up, it'll give you a default connection panel, but no connections in it, you'll start from scratch.

Older copies of sqldev will have a connections.xml.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SonOfHarpy
Solution 2 thatjeffsmith