目前我无法运行它(SQL Developer 4.1),因为它在启动时挂在“恢复编辑器”上。我想我之前是通过终止 sql 开发人员进程来退出它来完成的,因为它在向架构浏览器获取对象时挂起太久了...... 也许我会清理一些临时文件,但找不到任何文件。 有什么想法吗?
从 c:\Users\MY_USER\AppData\Roaming\SQL Developer\SQL History 中删除文件 和 c:\Users\MY_USER\AppData\Roaming\SQL Developer\System... 真的帮助我解决了连接问题
基于此线程https://community.oracle.com/thread/2564842我创建了自己的解决方案。
删除文件夹 c:\Users\USERNAME\AppData\Roaming\SQL Developer\system4.1.3.20.78\system_cache*。 SQLDeveloper 将在启动后重新创建它。
只需以管理员身份执行sqldeveloper即可。效果很好!
我们的设置:
我们也观察到了这个问题。通过 VPN 连接工作时情况更糟。我遵循了一些提示,但或多或少没有效果。
移动
C:\Users\<USER>\AppData\Roaming\SQL Developer
添加此行到本地目录
AddVMOption -Dide.user.dir=c:\temp\sqldev-conf
\sqldeveloper 中的\sqldeveloper.conf 文件给了我们一些改进,但是“IndexPreferencesTask”在启动时仍然卡住了好几次。
经过几个小时的不成功研究,我们从 JDK 11 回到了 JDK 8。 这解决了99%的问题。 “IndexPreferencesTask”在启动时仍然挂起,但持续时间不到一秒钟。
对我来说听起来像是 JDK 11 的问题。
就我而言,当我将
Tools --> Preferences --> Environment -> Look and Feel
更改为 Windows
时,问题就解决了。
从
C:\Users\User\AppData\Roaming\sqldeveloper
重新启动电脑
就我而言,解决方案有点奇怪。经过两天的努力解决这个问题,没有运气。突然,在我的 Mac 上,我搜索了 sql Developer,而不是 sqldeveloper。它弹出一个 sqldeveloper 应用程序(不知道这与我一直试图打开的应用程序有何不同),单击它然后繁荣,它打开了。我的猜测是,我的系统上有该应用程序的副本,我应该打开它,而不是尝试打开重新安装的应用程序。注意:在应用程序开始出现问题后,我重新安装了该应用程序。
Operating System: Windows 10
Oracle Sqldeveloper Ver: 17.4.0
The problem has been noticed sometime when any network security
patch was installed on your machine. Looks like the patch impacts
your cached data under your user profile folder.
As above Lakh, rtbf and others answered. Removing below folders
will resolve the issue.
C:\Users\<userId>\AppData\Roaming\SQL Developer\SqlHistory
C:\Users\<userId>\AppData\Roaming\SQL Developer\system17.4.0.355.2349
If any one find more approriate reason please feel free to
disagree with my answer.
标题模糊;对于任何有 IndexPreferencesTask 问题的人:
打开conf文件...
C:\Users\<UserName>\AppData\Roaming\sqldeveloper\<version>\product.conf
将此行添加到文件末尾的新行中:
AddVMOption -DIndexedPreferencesCommand=false
据我的研究表明,它只是索引偏好,因此唯一的负面结果是搜索偏好需要更长的时间 - 我个人无论如何都不会这么做。