soulemane moumie
soulemane moumie

Reputation: 1175

Oracle SQL developer error: could not install some modules

I have downloaded a fresh copy of sqldeveloper (sqldeveloper-4.1.3.20.78-no-jre) from the Oracle website. When I unzip it and launch the GUI, I keep getting the following error message:

Warning - could not install some modules: Dynamic Module Config - No module providing the capability org.netbeans.Netbinox could be found.

My system:

Upvotes: 18

Views: 93704

Answers (14)

Liviu Vancu
Liviu Vancu

Reputation: 1

What worked for me was renaming/deleting the C:\Users\<USERNAME>\AppData\Roaming\SQL Developer\system23.1.0.097.1607\system_cache directory.

All the preferences seems to be fine.

Upvotes: -1

Shweta Jain
Shweta Jain

Reputation: 1

For me, below worked.

To optimize the answer of all others which is to delete the cached files, deleting the files under Module folder is enough. The whole address is as:

C:\Users\<YOUR_USERNAME>\AppData\Roaming\SQL Developer\system<YOUR_SQLDEVELOPER_VERSION>\system_cache\config\Modules

Delete whatever exists in that folder.

Upvotes: 0

Kathukya Brian
Kathukya Brian

Reputation: 1

On linux, I fixed this problem by deleting .sqldeveloper folder in the home directory as follows

rm -rf ~/.sqldeveloper

Please note that this will clear all your preferences and saved data including saved connections.

Upvotes: 0

el_schalo
el_schalo

Reputation: 332

generalized folder to remove in Windows (e.g. Amazon WorkSpace) Clients:

%USERPROFILE%\AppData\Roaming\SQL Developer\

Upvotes: 0

Arash moradabadi
Arash moradabadi

Reputation: 365

To optimize the answer of all others which is to delete the cached files, deleting the files under Module folder is enough. The whole address is as C:\Users\<YOUR_USERNAME>\AppData\Roaming\SQL Developer\system<YOUR_SQLDEVELOPER_VERSION>\system_cache\config\Modules. Delete whatever exists in that folder.

Upvotes: 13

Chris K
Chris K

Reputation: 367

The solution in my case was to unzip the SQL developer in a directory without special characters.

At first, I had exported it in a directory that included the hash (#) symbol.

I now have it in a nested directory again, without any special characters, and it works as expected.

Upvotes: 0

Thomas
Thomas

Reputation: 51

In my case renaming/deleting only this folder was good enough: C:\Users*username*\AppData\Roaming\SQL Developer\system22.2.0.173.2018
This way I could still import old connections after starting sqldeveloper again

Upvotes: 2

gouderadrian
gouderadrian

Reputation: 431

This is a very old post but I have had the same issue recently on version 22.2, and this might help.

WARNING: You may lose important settings with this solution. Try deleting the system cache under C:\Users<your_user_name>\AppData\Roaming\SQL Developer\{whatever} (or simply everything in that folder). This solved the problem for me, but obviously you do lose configuration settings, connections, and so on, ie, everything you've ever done in SQL Developer - so be careful.

Upvotes: 10

This is tricky, so when the could not install some modules board shows up, click the disable modules and continue, then immediately open the app again it should work :)))

Upvotes: 0

crowne
crowne

Reputation: 8534

I found that I was getting this error after I reinstalled java while keeping an instance of sqldeveloper running. After I ended the running instance, then I could start a new instance.

Upvotes: 0

Based on This I just deleted mypath\sqldeveloper\netbeans\platform\modules\org-netbeans-core-windows.jar and it works fine for me.

Upvotes: 0

nivalderramas
nivalderramas

Reputation: 89

For those that are working on a linux machine, for me worked just changing the jdk version that I'm currently using. I change went to the path usr/lib/jvm/ and look for the versions that my pc have. Then in ~/.sqldeveloper/"yourversion"/product.conf I changed the Java home to java-8-openjdk (It was using the 11 version)

Upvotes: 2

Sasha Raskind
Sasha Raskind

Reputation: 41

In my case it was enough to change JDK pass to Java 8 in the C:\Users\YourName\AppData\Roaming\sqldeveloper\19.2.1\product.conf file: SetJavaHome C:\Program Files\Java\jdk1.8.0_202

I have Java 13 as default and although SQL developer complained at startup it worked OK with it until I started it and went away from the computer, so I missed the warning screen. After that it started to show the "could not install the modules" error.

Upvotes: 4

soulemane moumie
soulemane moumie

Reputation: 1175

Finally got the way out after some dirty hours. Initially I extracted the sqldeveloper zip in a nested directory.

i.e: E://A/B/C/sqldeveloper.
starting sqldeveloper gui from the above directory threw erros.

Solution:

  • Go in C:\users**UserName**\AppData\Roaming : delete SQL Developer and sqldeveloper folders

  • Extract the Sql Developer zip in a new non nested directory. i.e: E://

  • Start it and should work now

Reference: https://community.oracle.com/thread/3870680?start=0&tstart=0

Upvotes: 38

Related Questions