View Single Post
Old 05-07-07, 12:27 PM   #4 (permalink)
JavaLang
Junior Member
 
Join Date: Jul 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 JavaLang is on a distinguished road
Re: exception in thread main

iam not able to run a simple java program also,(hello world prog),previously i made many prograns and got the result,but suddenly it is giving this exception,

import java.lang.*;
class Test
{
public static void main(String aa[])
{
System.out.println("Testing Success");
}
}

and for environment variable settings:

path :
.;C:\Program Files\Java\jdk1.5.0_02\bin;

classpath :
.;C:\Program Files\Java\jdk1.5.0_02\jre\lib\rt.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\servlet-api.jar;


and my servlet programs are running well ,i only cant run core java applications.

plzz help me out.i tried many ways but in vain.
waitng for ur replies,Thank u.
JavaLang is offline   Reply With Quote