Oracle Sql developer error: could not install some modules
Asked Answered
R

13

17

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 lauch 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:

  • Windows 7 32 bit Hp Probook.
  • Jdk 1.6 , 1.7, 1.8 available in java/jdk subdirectory.
  • Netbeans 8.0.2 installed
Rickrack answered 22/4, 2016 at 10:6 Comment(3)
we use some netbeans stuffBeautiful
@Beautiful can you elaborate more on your comment ? We are really blocked by this error....Rickrack
SQLDev is largely built on JDeveloper IDE Platform. That platform also has some Netbeans components included. Your error generally sounds like a 'bad install' - it got extracted in such a way that one or more of the files or components couldn't be found.Beautiful
R
37

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

Rickrack answered 22/4, 2016 at 17:3 Comment(1)
thanks, this is work then i want to add more trick, if this instalation on child folder please check your parent folder, the name of parent could not use any symbol, just within space, number and (upper or lower) font.Thrilling
T
10

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.

Titfer answered 30/8, 2022 at 8:13 Comment(2)
I clenad all the folders that were named system_cache* under the current version folder, I had to do it after using for a while the graalvm that used I guess different formats in the cachePew
I was able to remove the C:\Users\<name>\AppData\Roaming\SQL Developer\system<version>\system_cache\config directory to resolve this error while still keeping my saved connections.Ranking
F
8

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.

Furuncle answered 25/9, 2023 at 9:36 Comment(2)
Having problems with SQL Developer after forced restarting Windows in the night for updates of OS. This solution worked for me.Unpin
This worked for me as well. I would consider this the best answer as it seems to be the simplest answer.Hopeless
S
3

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.

Surra answered 10/2, 2020 at 14:6 Comment(1)
I have similar error and your solution works for me.Spleeny
W
2

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)

Willtrude answered 5/7, 2020 at 15:8 Comment(0)
M
2

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

Misfile answered 1/9, 2022 at 16:3 Comment(1)
Worked for me, as well. To restore your connections, you can backup system<version>\o.jdeveloper.db.connection\connections.json and copy it back after removing the folder and starting SQL Developer once.Tryptophan
B
0

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

Boxing answered 3/6, 2021 at 13:55 Comment(0)
M
0

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.

Mihe answered 2/7, 2021 at 17:6 Comment(0)
H
0

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 :)))

Helsie answered 27/7, 2022 at 3:2 Comment(1)
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From ReviewMongolia
D
0

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.

Duplessismornay answered 11/1, 2023 at 13:25 Comment(0)
M
0

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

%USERPROFILE%\AppData\Roaming\SQL Developer\
Moselle answered 27/9, 2023 at 7:28 Comment(0)
E
0

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.

Elvia answered 5/3 at 8:43 Comment(0)
S
0

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.

Swords answered 22/7 at 8:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.