> What are differences for Java Standard Edition and
> Enterprise Edition.
Java 2 Enterprise Edition contains all functionality from Java 2 Standard Edition and adds functionality for such as servlets and JSP, Enterprise JavaBeans, Java Messaging Service, JavaMail, etc.
> And which of them is better for new user?
It depends on what functionality you need. If you just want to try Java by making your own stand-alone programs in Java, get the Standard Edition (make sure to get the SDK, not just the JRE). If you want to create dynamic websites using Java server-side technology, you need to get into J2EE territory as well (thankfully, you don't need to know or use everything from J2EE right from the start).
Thanks a lot for first question, but I have one more. I've installed JSE on my machine (WinXP) and have had troubles with my first programm. Look it:
public class test
{
public static void main(System args[])
{
System.out.println("Hello world");
}
}
Compiling was succesful, but displayed RunTime error "Exception in thread 'main' java.lang.NoSuchMethodError: main"