Get your own Java server
Main.java:3: error: ')' expected
    System.out.println(This sentence will produce an error);
                           ^
Main.java:3: error: ';' expected
    System.out.println(This sentence will produce an error);
                                         ^
Main.java:3: error: ';' expected
    System.out.println(This sentence will produce an error);
                                                   ^
Main.java:3: error: not a statement
    System.out.println(This sentence will produce an error);
                                                    ^
Main.java:3: error: ';' expected
    System.out.println(This sentence will produce an error);
                                                         ^
5 errors