Unable to compile and run HelloWorld in jdk1.7
I have installed jdk1.7 at my e:\ . i have already jdk1.6 and 1.5 in my machine at c:\ . Environment vairable, path=c:\jdk1.6\bin;e:\jdk1.7\bin;.; classpath=c:\jdk1.6\lib;e:\jdk1.7\lib;.; in cmd prompt, E:\>java -version java version “1.7.0″ Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing) E:\>set path=e:\javasdk1.7\bin;.; E:\>javac Error: Could not find or load main class com.sun.tools.javac.Main Not able to compile a Hello7.java which is at e:\ enter code here import java.io.*; class Hello7 { public static void main(String...