今天升級(jí)了一下jdk,看到JDK1.6正式版發(fā)布了,就下來看看,升級(jí)的時(shí)候出問題了,由于原目錄下有JavaEE5.0的版本,裝5.2的時(shí)候我就先取消了一下,然后繼續(xù)裝,在選中安裝目錄后,程序停止了,查看服務(wù)進(jìn)程看不出什么異常,后來去官方查,看到以下內(nèi)容:
在 Microsoft Windows 上
- 在 Microsoft Windows 任務(wù)管理器中,終止 WindowsNativeToolkit 進(jìn)程并刪除相應(yīng)文件。
- 使用 wincleanup 公用程序刪除 appserv70-admin、server1 以及任何其它相關(guān)服務(wù)。
注意 | 如果您的 Microsoft Windows 計(jì)算機(jī)上未安裝 wincleanup 公用程序,則需要下載它。有關(guān)詳細(xì)信息,請(qǐng)參見 Sun ONE 知識(shí)庫(kù): http://sunsolve.sun.com/pub-cgi/show.pl?target=home |
使用以下語法運(yùn)行 wincleanup:
wincleanup service_name
其中 service_name 是顯示在 Microsoft Windows“控制面板”中的“服務(wù)”屏幕上的實(shí)例服務(wù)器的名稱(顯示在括號(hào)中)。例如,“服務(wù)”屏幕可能會(huì)在“名稱”下顯示以下內(nèi)容:
Sun ONE Application Server 7 (server1)
在本例中,服務(wù)名是 server1。
對(duì)于管理服務(wù)器,使用 admin-server 作為服務(wù)名。
如果未提供服務(wù)名,所有與 Sun ONE Application Server 產(chǎn)品關(guān)聯(lián)的服務(wù)都將被刪除。
- 單擊 Microsoft Windows“開始”按鈕并選擇“運(yùn)行”,在文本框中鍵入 regedit 以打開 Microsoft Windows 注冊(cè)表編輯器。
- 刪除以下注冊(cè)表文件夾及其內(nèi)容:
HKEY_LOCAL_MACHINE\SOFTWARE\Sun Microsystems\Application Server
- 退出注冊(cè)表編輯器。
- 在 Microsoft Windows 資源管理器中,刪除產(chǎn)品注冊(cè)表文件 (system_drive\WinNT\system32\productregistry),或僅刪除其中的 appserver 條目。
- 在 Microsoft Windows 資源管理器中,從 Sun ONE Application Server 安裝目錄中刪除產(chǎn)品文件。
- 重新引導(dǎo)系統(tǒng)。
但問題卻沒有象想象的那么好解決,后只好去官方的英文論壇看到了這樣的解決方法
Could you please check following two things:
1) Do you have environment variable SystemDrive defined on this system? If not, define it and set it to C:
2) Look into c:\winnt\system32 folder and look for any files whose name begins with "productregistry". There should be only one file (or none at all). If you can see more than one such file, it means that deadlock occured during the update of this file. If this is the case, leave only file called "productregistry" and delete any other such files (they would be called "productregistry.lock" and "productregistry.bak", or something similar to that).
自己對(duì)照了一下,發(fā)現(xiàn)在c:\winnt\system32下確實(shí)發(fā)現(xiàn)了兩個(gè)producteregistry前綴的文件,一個(gè)為正常的,還有一個(gè)tmp文件,臨時(shí)文件,大小0K,刪除后安裝,ok!
周一周二本打算錄制視頻的,周日晚上熬夜的時(shí)候可能著涼了,剛好點(diǎn),晚上起來吃點(diǎn)東西了,打算開始把前面的課程補(bǔ)上.
最近二學(xué)年學(xué)生畢業(yè)了很多,畢竟看到自己的學(xué)生找到工作了是件很開心的事,大多時(shí)間和他們混一起玩了,唱歌,打牌,混了幾天日子,今天晚上開始恢復(fù)做事,努力吧!