im a beginner to java...i installed java6 from net...if i compiled using javac,the command prompt shows an error message...how to run the java program...how to set the path... [ October 06, 2008: Message edited by: Bear Bibeault ]
No, you don't have to do anything with the CLASSPATH. There are instructions for setting the PATH on Windows on this "common problems" page. The PATH you want starts with / on *nix or the drive letter (usually C) on Windows and always ends with bin.
When the instructions say "optional" you pronounce o-p-t-i-o-n-a-l "absolutely definitely compulsory."
Also, never include any JAR file in the Java home folder in your classpath. If one of those doesn't get recognized from the start, you've put it in the wrong place yourself. All the JAR files that are there when you install the JDK / JRE are right where they belong and are included automatically.