I have only used DrJava one day to compare DrJava with
other IDEs. Until now I have used the old IDE Kawa (not
updated anymore), but I am now looking for a new to use.
I have found out with DrJava that if I write a source
code (java file) with more than one class, I have to
put the one which contain the main method first.
Otherwise I get a runtime error: “No 'main' method in ...”
I am used to that the order of the classes is of no
consequence. It does not help if I give the Java file
the same name as the class which contain the main method.
Why does DrJava behave like this? If there is no
reason, would you please change DrJava?