This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Problem installing SDK 1.5 on Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem installing SDK 1.5 on Windows" Watch "Problem installing SDK 1.5 on Windows" New topic
Author

Problem installing SDK 1.5 on Windows

Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
Hi,

I'm having a problem installing SDK 1.5 on Win98. I get a message saying there is not enough space on the drive.
Is there a way to tell the install process to use another drive for a work area? I have 5G on my E: drive.
How can I tell the install process to use that for a work area during the install? I am going to install to the E: drive where there is plenty of room.

I have two bootable Win98 OS systems on my computer. I use the smaller one for testing. It has 70M free space. I want to install the new java on that system to test it before installing it on my "production" system. The reason I do this is that in the past I blindly installed a new version of the SDK and had it wipe out various settings without telling me what it had done. It took me several days to a week to find what had been changed and to restore it.
Before moving to 1.5 I would like to test it in parallel with my current version 1.4.2.

Specific problems with the install:
Install REPLACEs the registry entry for jarfile. I have several commands that are available via the right-click context menu for jar files.
Install has replaced the java.exe file in the C:\Windows folder. I want to keep more than one version of the JRE around with different names.
Install has replaced the java plugin entries in the registry and in the Netscape plugin folder.

Thanks,
Norm
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
The installation wizard should have a button that lets you browse to the directory where you wish to install the JDK if you don't like the default. I haven't installed JDK 1.5 on Windows before (I use Linux), so I don't know the exact details. As for the registry changes, I'm not sure if there is anything you can do about that. You should be able to use any version of the JDK you install without relying on registry settings.

Layne


Java API Documentation
The Java Tutorial
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
Thanks for the reply.
I moved somethings off the C: and was able to get 1.5 installed.
After installing 1.5, I noticed that it was using more than 140M of space on my C: drive. I found that it had 93M in C:\Program Files\Common Files\Java
and 53M in C:\Windows\Local Settings\

I can't see how these massive folders are needed for the execution of java or javac. I have moved them off the C: drive to my bulk storage drive E:
I then used regedit to change all references to these folders to be on the E: drive.

Java uses the registry to find where the browser's java plugin-in is located. It also sets the "Open" commandline for when you click on a jar file to something like: java -jar %1
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem installing SDK 1.5 on Windows
 
Similar Threads
Help!!! Error 1335 when installing J2SE SDK 1.4.2_0X
Unfriendly Product installation on Windows
Installing Java SDK on drive other than C:
HELP! Can't Uninstall J2SE 5.0 -- Can't Reinstall J2SE 5.0!
Partition Magic with win2k/redhat