安裝了最新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,大功告成,謝謝老外~