先安装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