Originally posted by Amit Ghorpade:
You can . . . compile your programs in the 1.5 bin directory.
No, don't do that. Leave the bin directory for what is installed with Java and put your programs into another directory.
If you want to use JDK1.5 (which you ought to call Java 5) make sure the path to it is the first Java path in your path variables. Remember you have to open a new command prompt for the path to be valid.
There is a way you can set the path for the lifetime of a particular command prompt window, but I can't remember how to do it. See the last post on
this thread, but remember: you want the Java installation you are using
first in the path.