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.
Joined: Jan 09, 2005
hi. thanks for your reply. however, i am still unsure how to do it. May i know how to use the javac -source -target option to control release levels?
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