Afeef Mirza

Greenhorn
+ Follow
since Jul 26, 2008
Merit badge: grant badges
For More
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 Afeef Mirza

Daniel Salomons wrote:java -cp "%CLASSPATH%;AdviceClient.jar" AdviceClient
Exception in thread "main" java.lang.NoClassDefFoundError: AdviceClient

I had the same problem as Sumeet Gaikwad, and was able to solve it with answer by Angus Rose, though I did it slightly different: I added the current directory to the claspath in my environment variables. It solves this problem once and forever.
Gr. Daniel



Hi,

Even though I added the current directory in the CLASSPATH variable, it gives me the noclassdeffounderror. i added j2ee.jar in the classpath, it gave me compilation errors. i had to add j2ee.jar in the command line only then it would accept. I am using Windows XP and setting the env variables. .Can anyone explain why the problem is occuring?

Thank you!