Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Archie Andrews

Greenhorn
+ Follow
since May 25, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Archie Andrews

hi,
Is it necessary to import java.awt.event.* if you have already imported java.awt.* ???
I had posted a discussion on my code not founding the WindowAdapter() class. Now when I imported java.awt.even.* it worked.
20 years ago
hi all,
the code worked... I had failed to add the working directory in the classpath. thanx for the replies.
I am new here and have started taking java a bit too serious in the few days.
20 years ago
The following code
public class helloWorld
{
public static void main(String args[]){
System.out.println("Hello World");
}
}

gives me the error
java.lang.NoSuchMethodError: main
Exception in thread "main" Process Exit...
when Kawa IDE was used
and
Exception in thread "main" java.lang.NoClassDefFoundError:helloWorld
in DOS prompt

my class path is set as c:\jdk1.2.2\lib
and my path is c:\jdk1.2.2\bin
Would some one help me out???
20 years ago