Search:

Type: Posts; User: pbrockway2

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    1,092

    Re: Main Class not loading

    You have to first compile, then run. The compiler executable is javac.exe: it turns your .java file into a binary class file. Then you use the java.exe executable to actually run the file.

    The...
  2. Replies
    4
    Views
    1,092

    Re: Main Class not loading

    A class like Hello that is designed to be "run" with a main() is normally made public. Ie, is declared as "public class Hello { etc".

    More importantly it must in a file Hello.java. The file name...
Results 1 to 2 of 2