Dear mainsh,
first make sure that java is properly installed in ur system.
for that go to
run->type'cmd'->javac
if error comes
javac is not reconized by the system. some what this this it is not
installed properly.
then how to compile it
Run->cmd->type "notepad filename.java" press enter then click yes on dialog
box
please note that ur class name should be same as ur file name in our case it
is "filename"
so lets start we program
class filename
{
public static void main(String [] args)
{
System.out.println("UR PROBLEM HAS to Solved");
}
}
save it...
then again go to cmd
type"javac filename.java" press enter
if it compiles with no error then
type "javac filename" press enter
please tell me that it worked or not
byeeee
CJ