I could not get my first program working.
class HelloDan {
public static void main(String[] arguments) {
System.out.println("What's the frequency, Kenneth?");
}
}
When I type on dos mode. c:\javac hellodan.java I don't see any
error but when I run it c:\java hellodan
I get an error Exception in thread "main"
java.lang.NoClassFefFoundError. I am using window 2000. I have
classpath c:\j2sdk1.4.1_02\lib\tools.jar;
path c:\j2sdk1.4.1_02\bin;
Can someone tell me what went wrong? I need help to get it going.
Sometime I make a new one and run javac. Sometime I don't see any
*.class files. I use search file and could not find it. Why does
this happen?