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