oracle SQL-Developer:无法打开程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25849317/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
SQL-Developer: cant open the program
提问by ZerOne
I used SQL Developer to import big csv files, but today I can't open the program.. When I doubleclick on the .exe this window appears but the progress bar stops at this point, like in the img, and then the window get closed without an error.. Anybody know what could be wrong??
我用SQL Developer导入了大的csv文件,但是今天我无法打开程序..当我双击.exe时出现此窗口但此时进度条停止,就像在img中一样,然后窗口得到关闭没有错误.. 任何人都知道什么可能是错的?
采纳答案by ZerOne
So I asked Jeff Smith and he gave me the answer: You have to go to the Application Data directory, Roaming Profiles, SQL Developer folder. Find the subfolder with the SQL Developer version number you're using in the directory name, and try renaming or deleting it.
所以我问 Jeff Smith,他给了我答案:您必须转到 Application Data 目录、Roaming Profiles、SQL Developer 文件夹。在目录名称中找到包含您正在使用的 SQL Developer 版本号的子文件夹,然后尝试重命名或删除它。
In my case it was: C:\Users\myname\AppData\Roaming\SQL Developer\system4.0.2.15.21
就我而言,它是:C:\Users\myname\AppData\Roaming\SQL Developer\system4.0.2.15.21
回答by paulrcove
The solution to this issue on stratup would appear to be centre around the proxy settings for your SQL Developer installation. Setting the proxy to use 'No Proxy' seems to override the username and password prompt at startup.
Stratup 上此问题的解决方案似乎以 SQL Developer 安装的代理设置为中心。将代理设置为使用“无代理”似乎会覆盖启动时的用户名和密码提示。
To configure this follow Tools > Preferences > Web Browser and Proxy > Proxy Settings and select the No proxy radio.
要进行配置,请遵循工具 > 首选项 > Web 浏览器和代理 > 代理设置,然后选择无代理无线电。
When you restart you should no longer be asked for a username and password.
当您重新启动时,不应再要求您输入用户名和密码。
回答by fmk98
I've tried both of the solutions (ZerOne's solution of renaming or deleting the "SQL developer" folder and paulrcove's changing no proxy settings), but neither worked after rebooting my computer. As a workaround I renamed the "SQL developer" sub folder to a previous version of SQL Developer (from system4.0.2.15.21 to system4.0.2.15.20). Note that I've never installed the previous version. When I start up SQL Developer I am asked if I want to import the settings from the "previous version", and all of my old settings get imported with the exception of saved passwords in connections. It is probably a system setting that has acquired a conflict, as SQL Developer had been working fine for weeks before this feature appeared, and it is present even if I upgrade to the latest version of SQL Developer.
我已经尝试了这两种解决方案(ZerOne 的重命名或删除“SQL developer”文件夹的解决方案和 paulrcove 的更改无代理设置的解决方案),但在重新启动计算机后都没有奏效。作为一种解决方法,我将“SQL developer”子文件夹重命名为以前版本的 SQL Developer(从 system4.0.2.15.21 到 system4.0.2.15.20)。请注意,我从未安装过以前的版本。当我启动 SQL Developer 时,系统会询问我是否要从“以前的版本”导入设置,并且我的所有旧设置都会被导入,但连接中保存的密码除外。这可能是系统设置发生冲突,因为在此功能出现之前,SQL Developer 已经正常工作了数周,即使我升级到 SQL Developer 的最新版本,它仍然存在。
回答by RLD
Recently, I faced similar situation. But the SQL Developerlogo instead of getting closed, it hung in my case. I followed below 2 steps to get SQL Developer running.
最近,我遇到了类似的情况。但是SQL Developer徽标并没有关闭,而是挂在我的情况下。我按照以下 2 个步骤运行 SQL Developer。
- First I ended the SQL Developertask by going to Task Managerin Windows.(It might be 'kill' command in case of Linux OS)
- I selected Start-> Programs. Then I did right click on 'SQL Developer' and chose 'Run as administrator'.
- 首先,我通过转到Windows 中的任务管理器来结束SQL Developer任务。(在 Linux 操作系统的情况下可能是“kill”命令)
- 我选择了开始->程序。然后我右键单击“ SQL Developer”并选择“以管理员身份运行”。