Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem installing SDK 1.5 on Windows

 
Norm Radder
Ranch Hand
Posts: 882
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Norm Radder
Ranch Hand
Posts: 882
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic