I have both jdk1.2 and jdk1.1.8 on my local machine. it used to work fine. I meant if I set the path to jdk1.2\bin, I get the version1.2 compiler to compile my program. If I set the path to jdk1.1.8\bin, I got version1.1.8 compiler.
One day I found I was unable to use jdk1.1.8 compiler, when I set the path to jdk1.1.8\bin, and simply type
I got the following "NoClassDefFoundError:java/util/ArrayList....etc.".
instead of a list of options I can use with the compiler.
I re-downloaded JDK1.1.8, but the problem still exists.
I set the path by
to confirm the version.
What is wrong? does anybody meet the same problem?