安装了最新Oracle11g R2版,打开Sql Developer,发现界面跟以前不一样了,不是很习惯,偶然发现设置里可以换主题,于是换了个Windows主题,结果就是只看得到任务管理器里的进程,却始终不出来界面。于是猜想这肯定是写在配置文件里的,到安装文件夹下去一个个找,还是没发现。无意间搜到一个老外的文章,说的正是这个事。
下面是引用的原文:
You can reset the system to factory defaults by deleting the system folder in the C:/Documents and Settings/<your connection>/Application Data/SQL Developer/ This is a bit radical as it will delete your connections and any other settings you have made. I'm assuming you have not got a backup of your connections.
You can just delete the preferences file. This is in that system folder in a directory /Application Data/SQL Developer/system1.5.5.59.69/o.sqldeveloper.11.1.1.59.69 and the file is product-preferences.xml
Have SQL Developer closed when you do this and restart it after you have deleted the file.
但是我找不到,可能他说的是XP系统,最后,我找到了这个目录:
C:/Users/<name>/AppData/Roaming/SQL Developer
然后到这个子目录/system1.5.5.59.69/o.sqldeveloper.11.1.1.59.69/ ,删除里面的product-preferences.xml文件,重启动Sql Developer,大功告成,谢谢老外~