Search:

Type: Posts; User: Nonverbis

Search: Search took 0.08 seconds.

  1. Re: Interpreter looks for main method in an unexpected class

    michael@michael:~$ java -version
    java version "14" 2020-03-17
    Java(TM) SE Runtime Environment (build 14+36-1461)
    Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

    It is...
  2. Difference of java .... and javac + java

    java -version
    java version "14" 2020-03-17
    Java(TM) SE Runtime Environment (build 14+36-1461)
    Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)



    package reusing;...
  3. Re: Interpreter looks for main method in an unexpected class

    If I remember correctly, it must be Oracle JDK.


    java -version
    java version "14" 2020-03-17
    Java(TM) SE Runtime Environment (build 14+36-1461)
    Java HotSpot(TM) 64-Bit Server VM (build...
  4. Re: Interpreter looks for main method in an unexpected class

    The java command is written above. If I have understood you correctly.

    --- Update ---

    Well, this works:


    michael@michael:~/Downloads/thinking_in_java/TIJ4-code-master/examples/reusing$ java...
  5. Interpreter looks for main method in an unexpected class

    Examples are from "Thinking in Java".



    import static net.mindview.util.Print.*;

    class Art {
    Art() { print("Art constructor"); }
    }
  6. Replies
    0
    Views
    973

    Study Java together

    Hi. I'm looking for a mate who wants to read and discuss Thninking in Java.

    We'll set deadlines. Each of us will prepare and do exercises. Then we'll discuss.

    This is much more fun than...
  7. Replies
    0
    Views
    850

    Study Java together

    Hi. I'm looking for a mate who wants to read and discuss Thninking in Java.

    We'll set deadlines. Each of us will prepare and do exercises. Then we'll discuss.

    This is much more fun than...
Results 1 to 7 of 7