- 论坛徽章:
- 0
|
community.borland.com
Article #29635: JBuilder 8: Windows Installation FAQ
Question:
I am having problems installing JBuilder 8. What can I do?
Answer:
Please verify that you do not have any of the following problems:
You may not have enough hard drive space available in the partition that contains the "temp" directory. You will need approximately 300-500MB of space to complete the JBuilder 8 installation process.
The JBuilder installer will usually fail if it is unable to find a compatible JDK.
To verify which JDK the installer is using do the following:
Open a console window (aka DOS window)
Type set LAX_DEBUG=true
Run the install executable (which can be found in the "Windows" directory of your JBuilder 8 CD. e.g. ent_install.exe).
This will launch the installer in debug mode and allow it to provide debug output to the console window.
When the installer has loaded the first "splash" screen, which allows you to pick your language, check the console window. Look for the line that says something like this:
SUCCESS! Using f:/windows/resource/jre/bin/javaw.exe
If this is not pointing to the JBuilder CD then the installer is possibly using an incompatible VM.
If the information scrolls by too fast you need to set the buffer for the console to be larger. To do this:
Launch the installer in debug mode.
Click the MS-DOS icon in the upper, left-hand corner of the console and select "Properties".
Select the "Layout" tab.
In the "Screen Buffer Size" section, set the "Height" to something like 500 lines.
Click OK and OK again on the pop-up dialog.
Cancel the installer and start again. This time you should be able to scroll the output.
If you find that you are not using the VM that comes with JBuilder 8 you can try the following solutions to make the installers work:
Place a compatible JDK on the system path:
Open a command (DOS) prompt.
Clear the path: set PATH=""
Put the JDK "bin" directory on the path: set PATH=D:/jbuidler8/jdk1.4/bin
Do NOT append or prepend the path entry. You must clear the path first.
Run the installers from the same command prompt.
Re-Install JBuilder 8:
This will help assure that you do not have a corrupt install. Be sure to follow these steps when doing so:
Follow the uninstall instructions here.
Reboot the computer.
Disable any unnecessary applications that are running, including Netzip, Real Player, virus checkers, etc.
Re-install JBuilder.
Remove JDK references from the registry:
WARNING: Do not attempt the following steps if you are unfamiliar with editing the registry. Borland takes no responsibility for mistakes made or consequences from following these steps.
The idea here is to remove any conflicting JDK references from the registry so that the installer can find the correct JDK.
From the Start menu, select "Run..." and type in "regedit". Note for Windows NT users: do NOT use Regedit32.
Press F3 and, in the Search dialog that opens, type in "JavaSoft". Regedit should stop on the key "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft". With this key selected, click the "Registry" menu and select "Export Registry File...". Be sure the "Export range" is set to "Selected Branch" and save the key to a file that you can remember.
Now delete the "JavaSoft" branch.
Continue searching for "JavaSoft" just to be sure that there are no other keys besides "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft". If you find more, modify them as above.
When done, exit regedit and restart the computer.
Run the install in debug mode again and check to see if it is using the VM on the JBuilder CD.
When the installer is finished (or if it still fails), you can restore the old registry settings by double-clicking the registry file(s) you exported.
Last Modified: 06-FEB-03 |
|