先安装jdk1.5,然后安装JB2005, 以上破解若弹出当前JDK版本是1.4之类提示,请更改注册表如下: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4.2_04] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5.0] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.2_04] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5.0] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_02] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_03] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_04] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_01] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.5.0]
复制shock.jar到C:\Program Files\Java\jdk1.5.0\bin子目录下
启动DOS模式,执行java jar shock.jar(回车)
(jb2005启动后可更改JDK,使其指向JDK1.5)
"CurrentVersion"="1.5"
"MicroVersion"="2"
"JavaHome"="C:\\Borland\\JBuilder2005\\jdk1.4"
"MicroVersion"="2"
"JavaHome"="C:\\Borland\\JBuilder2005\\jdk1.4"
"JavaHome"="C:\\Program Files\\Java\\jdk1.5.0"
"MicroVersion"="0"
"JavaHome"="C:\\Program Files\\Java\\jdk1.5.0"
"MicroVersion"="0"
"JavaHome"="C:\\Program Files\\Java\\jre1.5.0"
"UseJava2IExplorer"=dword:00000001
"HideSystemTrayIcon"=dword:00000001
"CurrentVersion"="1.5"
"MicroVersion"="2"
"RuntimeLib"="C:\\Borland\\JBuilder2005\\jdk1.4\\jre\\bin\\client\\jvm.dll"
"JavaHome"="C:\\Borland\\JBuilder2005\\jdk1.4\\jre"
"MicroVersion"="2"
"RuntimeLib"="C:\\Borland\\JBuilder2005\\jdk1.4\\jre\\bin\\client\\jvm.dll"
"JavaHome"="C:\\Borland\\JBuilder2005\\jdk1.4\\jre"
"JavaHome"="C:\\Program Files\\Java\\jre1.5.0"
"RuntimeLib"="C:\\Program Files\\Java\\jre1.5.0\\bin\\client\\jvm.dll"
"MicroVersion"="0"
"JavaHome"="C:\\Program Files\\Java\\jre1.5.0"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Java\\jre1.5.0\\bin\\client\\jvm.dll"
"EnableJavaUpdate"=dword:00000001
"EnableAutoUpdateCheck"=dword:00000001
"NotifyDownload"=dword:00000001
"NotifyInstall"=dword:00000001
"Frequency"=dword:01050000
"UpdateSchedule"=dword:00000014
"LastUpdateBeginTime"="Wed, 15 Dec 2004 01:28:25 GMT"
"LastUpdateFinishTime"="Wed, 15 Dec 2004 01:28:35 GMT"
"TransferJobID"="{00000000-0000-0000-0000-000000000000}"
"CurrentVersion"="1.5.0"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"
"Home"="C:\\Program Files\\Java\\jre1.5.0\\bin"