hi. we have an old application that is developed using jdk1.3 and we would like to develop new application using jdk1.4.2 is it possible to have two JDK on the same machine? May I know how to set the environment variables?
One thing you can do when compiling a program is set the classpath to the rt.jar for the SDK that you want to use. Another is to use the javac.exe options -source and -target to control release levels. Then I think you'd only need one SDK.
I keep multiple versions around for similar reasons. My primary project must be WSAD on 1.3, and I play with the latest Eclipse and JDK. I ignore whatever registry entries and environment variables the installation sets and manually set everything I need as I start things up.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi