i have JDK 1.2.2, JDK 1.3 and JDK 1.4 on my win2000 machine, now is the
version 1.3 actual, becouse i have installed it as last.
How can i switch the actual/default version???
thanks
regards
Dmitri
For what I can tell, a windows installation typically installs the JDK
as well as a Windows JRE. Whatever JDK is installed last is the what
is the effective JRE. The only thing I would suggest is reinstalling
whatever you want to be your default.
I'm pretty sure you can still set the JAVA_HOME in your environment
variables. Buried somewhere in the Control Panel I believe (been a LONG
time since I used Windows)
Bob
--
"All I wanted in the end was world domination and a whole lot of money to
spend" - Justin Sullivan
Registered Linux User #228620
Check the value of
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion
and
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion
in the registry.
------
kcole
Yes, but JAVA_HOME and the JRE are two different things. The JRE is
registered as an application in the Windows registry, where JAVA_HOME
is simply an environent varible. Different Java apps look for
diffenent things when starting up. For example, I am pretty sure the
Eclipse executable looks for the JRE.
As for tweaking the Windows registry, that may work, although that is
never really an attractive proposition for me ;-)
Ryan