can I install both JRE 1.5 and 1.6?

if can, how to choose the one that to be used?thx!
[64 byte] By [Jack_tta] at [2007-11-27 1:49:30]
# 1
You can have both version on your system. Check out the CLASSPATH variable.
gymma at 2007-7-12 1:14:51 > top of Java-index,Desktop,Runtime Environment...
# 2
>Check out the CLASSPATH variable.No, PATH variable.
java_2006a at 2007-7-12 1:14:51 > top of Java-index,Desktop,Runtime Environment...