Installing Java vs. copying Java directory structure

Other than setting up the directory structure, what happens when you "install" the Java SDK from the Sun site? Are there environmental variables which are set? I was troubleshooting a client machine, and installed Java 1.5, which subsequently caused Java 1.3 apps on the machine to fail. I'd like to know more about the installation so I can avoid future problems.

Thanks,

Dorothy
LVL 6
dorothy2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

derkecCommented:
Frequently the JAVA_HOME environment variable is set. You might be able to point that back to the 1.3 installation and get those going again.
CEHJCommented:
>> Frequently the JAVA_HOME environment variable is set

I'm not sure that is *ever* set in fact.
derkecCommented:
I could be nuts. Are you thinking that the path has been changed to point to the wrong version of Java?
doronbCommented:
On a Windows system, there are several Registry keys and values that should be written to the Win-Registry and, perhaps even some file-associations that are set for you like .jnlp, .jar and .java.

The reason your Java 1.3 apps failed was because Java 1.5 set itself as the "default" JVM to use on your client's machine.  If the machine is a Windows' based PC, look in regedit for something like this:

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.5"

Changing the value for the "CurrentVersion" key to "1.3" -- assuming that version is what's installed on your client's machine -- will revert the default JVM to the 1.3 version.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.