We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2827b5 commit 18435f1Copy full SHA for 18435f1
drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
@@ -671,7 +671,7 @@ public void run() {
671
* @exception IOException propagated from GlobalModel.compileAll()
672
*/
673
public void runMain(String qualifiedClassName) throws ClassNameNotFoundException, IOException {
674
- _runInInteractions("java {0}", qualifiedClassName);
+ _runInInteractions("{0}.main(null)", qualifiedClassName);
675
}
676
677
/** Runs this document as applet in the interactions pane after resetting interactions with the source
0 commit comments