SashaBuilder3
Programmer
Hi everybody,
I just started learning Java and installed IBM Eclipse Platform. I have a usual for beginners problem: I can't run a simpliest console program. Here it is:
public class cl1
{
public static void main(String[] args)
{
System.out.println("Hello World!"
}
}
Getting an error message when trying to run it: 'Could not find the main class'
I tried different names (the project name is 'pr1', package 'pck1') of the class such as 'pr1' or even 'pck1' but it didn't help.
Can anybody tell me what's going on?
Thanks,
Alexandre
I just started learning Java and installed IBM Eclipse Platform. I have a usual for beginners problem: I can't run a simpliest console program. Here it is:
public class cl1
{
public static void main(String[] args)
{
System.out.println("Hello World!"
}
}
Getting an error message when trying to run it: 'Could not find the main class'
I tried different names (the project name is 'pr1', package 'pck1') of the class such as 'pr1' or even 'pck1' but it didn't help.
Can anybody tell me what's going on?
Thanks,
Alexandre