my dog learned polymorphism
The moose likes Beginning Java and the fly likes Upgrading SDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Upgrading SDK" Watch "Upgrading SDK" New topic

Upgrading SDK

Steve Rorabaugh

Joined: Aug 07, 2003
Posts: 3
I currently have J2SDK1.4.1_02 installed on my Windows2000 workstation. In order to install 1.4.2, do I need to do any kind of uninstall, or will the more recent version install "over" the older version? Does this download emcompass the newest JRE version as well?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
Yes, it has the new JRE. Always.

I recommend going to the "add or remove programs" section of your Control Panel in WinXP or 2K equiv. system and uninstall J2SDK1.4.1_02. Or however it was named in your system when you installed it.

I can't say what the harm will be done if you don't do that, except that there will be a redundant DIR named like that left in your drive. However, your CLASSPATH and PATH global variables may remain pointing to those. Not good.

I recommend, after running the uninstaller, that you delete those DIRs if they remained in your configuration after uninstalling the old SDK. (They probably will.)

Needless to say, you should not have placed any of your program files in there!

You may have to change the CLASSPATH in your windows global and/or personal Variables but that is explained in the information files delivered with the SDK. They need to point to the new DIR.

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: Upgrading SDK
It's not a secret anymore!